class AddProfileToScaptimonyPolicies < ActiveRecord::Migration def change # add_reference :scaptimony_policies, :scap_content_profile, index: true add_column :scaptimony_policies, :scap_content_profile_id, :integer, :references => :scap_content_profile end end