gs_app/db/migrate/20141124230956_create_events.rb
2015-01-18 22:20:09 +01:00

14 lines
264 B
Ruby

class CreateEvents < ActiveRecord::Migration
def change
create_table :events do |t|
t.string :title
t.string :slug
t.date :start_at
t.text :description
t.references :image_file, index: true
t.timestamps
end
end
end