Sha256: 1583ea04aba85e63497945e80374df386b8dd5b37d50d2e5f03f40aedb3190f3

Contents?: true

Size: 451 Bytes

Versions: 12

Compression:

Stored size: 451 Bytes

Contents

class CreateAmpleAssetsTables < ActiveRecord::Migration
  def change
    create_table :ample_assets_files do |t|
      t.string   :keywords
      t.string   :alt_text
      t.string   :attachment_uid
      t.string   :attachment_mime_type
      t.string   :attachment_ext
      t.string   :attachment_name
      t.integer  :attachment_width
      t.integer  :attachment_height
      t.string   :attachment_gravity
      t.timestamps
    end
  end
end

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
ample_assets-0.0.7 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb
ample_assets-0.0.7 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.6 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.6 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb
ample_assets-0.0.4 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.4 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb
ample_assets-0.0.3 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.3 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb
ample_assets-0.0.2 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb
ample_assets-0.0.2 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.1 lib/generators/ample_assets/templates/migration.rb
ample_assets-0.0.1 test/dummy/db/migrate/20120106192233_create_ample_assets_tables.rb