clarion/db/migrate/20150530182514_add_conference_id_to_personal_profiles.rb
Andrew Radev 454f18dd2f A user has many profiles now
Still need to change controllers quite a lot.
2015-05-30 18:53:14 +03:00

7 lines
198 B
Ruby

class AddConferenceIdToPersonalProfiles < ActiveRecord::Migration
def change
add_column :personal_profiles, :conference_id, :integer
add_index :personal_profiles, :conference_id
end
end