diff --git a/db/migrate/20150524160616_create_call_for_participation_records.rb b/db/migrate/20150524160616_create_call_for_participation_records.rb new file mode 100644 index 0000000..2788672 --- /dev/null +++ b/db/migrate/20150524160616_create_call_for_participation_records.rb @@ -0,0 +1,10 @@ +class Conference < ActiveRecord::Base; end +class CallForParticipation < ActiveRecord::Base; end + +class CreateCallForParticipationRecords < ActiveRecord::Migration + def change + Conference.all.each do |c| + CallForParticipation.create!(conference_id: c.id) + end + end +end