Class: CreateMercuryImages

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/editable_content/install/templates/create_mercury_images.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
# File 'lib/generators/editable_content/install/templates/create_mercury_images.rb', line 2

def change
  create_table :mercury_images do |t|
    t.attachment :image
    t.timestamps
  end
end