clarion/db/migrate/20151021185100_add_conferen...

6 lines
163 B
Ruby
Raw Normal View History

class AddConferenceIdToVolunteers < ActiveRecord::Migration[4.2]
2015-10-21 23:13:39 +03:00
def change
add_reference :volunteers, :conference, index: true, foreign_key: true
end
end