clarion/db/migrate/20151021185100_add_conference_id_to_volunteers.rb
2019-04-28 11:56:16 +03:00

6 lines
163 B
Ruby

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