class CreateIllustrations

Public Instance Methods

change() click to toggle source
# File lib/generators/tkh_illustrations/create_or_update_migrations/templates/create_illustrations.rb, line 2
def change
  create_table :illustrations do |t|
    t.string :name
    t.string :image

    t.timestamps
  end
end