2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2013-02-16 13:30:53 +01:00
|
|
|
class CreateSocialEventsTable < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :social_events do |t|
|
|
|
|
|
t.references :conference
|
|
|
|
|
t.string :title
|
|
|
|
|
t.text :description
|
|
|
|
|
t.date :date
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :social_events
|
|
|
|
|
end
|
|
|
|
|
end
|