You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/db/migrate/20250704001027_add_benefit_...

7 lines
196 B

class AddBenefitToParents < ActiveRecord::Migration[8.0]
def change
remove_reference :parents, :benefits, foreign_key: true
add_reference :parents, :benefit, foreign_key: true
end
end