clarion/db/migrate/20151021185100_add_conference_id_to_volunteers.rb
2015-10-21 23:19:53 +03:00

6 lines
158 B
Ruby

class AddConferenceIdToVolunteers < ActiveRecord::Migration
def change
add_reference :volunteers, :conference, index: true, foreign_key: true
end
end