ref: master
db/migrate/20150203143051_add_reference_to_role.rb
1 2 3 4 5 6 7 8
class AddReferenceToRole < ActiveRecord::Migration def self.up add_column :roles, :profile_id, :integer end def self.down remove_column :roles , :profile_id end end