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.30 db/migrate/0120_create_attachments.rb
wheels-0.1.28 db/migrate/0120_create_attachments.rb
wheels-0.1.27 db/migrate/0120_create_attachments.rb
wheels-0.1.25 db/migrate/0120_create_attachments.rb
wheels-0.1.24 db/migrate/0120_create_attachments.rb
wheels-0.1.23 db/migrate/0120_create_attachments.rb
wheels-0.1.22 db/migrate/0120_create_attachments.rb
wheels-0.1.21 db/migrate/0120_create_attachments.rb
wheels-0.1.20 db/migrate/0120_create_attachments.rb
wheels-0.1.19 db/migrate/0120_create_attachments.rb
wheels-0.1.18 db/migrate/0120_create_attachments.rb
wheels-0.1.17 db/migrate/0120_create_attachments.rb
wheels-0.1.16 db/migrate/0120_create_attachments.rb
wheels-0.1.15 db/migrate/0120_create_attachments.rb
wheels-0.1.14 db/migrate/0120_create_attachments.rb
wheels-0.1.13 db/migrate/0120_create_attachments.rb
wheels-0.1.12 db/migrate/0120_create_attachments.rb
wheels-0.1.10 db/migrate/0120_create_attachments.rb
wheels-0.1.9 db/migrate/0120_create_attachments.rb
wheels-0.1.8 db/migrate/0120_create_attachments.rb