Class: CreateMercuryImages
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateMercuryImages
- Defined in:
- lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb', line 2 def change create_table :mercury_images do |t| t.string :image_file_name t.string :image_content_type t.integer :image_file_size t.datetime :image_updated_at t. end end |