2013-02-16 13:30:53 +01:00
|
|
|
class CreateRegistrationsSocialEventsTable < ActiveRecord::Migration
|
|
|
|
|
def up
|
2014-07-21 14:49:05 +02:00
|
|
|
create_table :registrations_social_events, id: false do |t|
|
2013-02-16 13:30:53 +01:00
|
|
|
t.references :registration, :social_event
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :registrations_social_events
|
|
|
|
|
end
|
|
|
|
|
end
|