Sha256: a35a942032077b2405b4f12b68344d68c553aa0617ed0096cd6f6991c6534c29

Contents?: true

Size: 346 Bytes

Versions: 29

Compression:

Stored size: 346 Bytes

Contents

class CreateAttachments < ActiveRecord::Migration
  def self.up
    create_table :attachments do |t|
      t.string :file_file_name
      t.string :file_content_type
      t.integer :file_file_size
      t.datetime :file_updated_at
      t.integer :page_id
      t.timestamps
    end
  end

  def self.down
    drop_table :attachments
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
wheels-0.1.7 db/migrate/0120_create_attachments.rb
wheels-0.1.6 db/migrate/0120_create_attachments.rb
wheels-0.1.5 db/migrate/0120_create_attachments.rb
wheels-0.1.4 db/migrate/0120_create_attachments.rb
wheels-0.1.3 db/migrate/0120_create_attachments.rb
wheels-0.1.2 db/migrate/0120_create_attachments.rb
wheels-0.1.1 db/migrate/0120_create_attachments.rb
wheels-0.1.0 db/migrate/0120_create_attachments.rb
wheels-0.0.49 db/migrate/0120_create_attachments.rb