clarion/db/migrate/20140807104059_add_user_reference_to_speaker_profiles.rb
Petko Bordjukov 02059ad2a8 Introduce SpeakerProfile
All the personal data of the user that is not used for system
tasks (such as login) is held here.
2014-08-07 14:05:13 +03:00

6 lines
145 B
Ruby

class AddUserReferenceToSpeakerProfiles < ActiveRecord::Migration
def change
add_reference :speaker_profiles, :user, index: true
end
end