Not sure what happened here.

This commit is contained in:
2023-01-27 12:22:34 +00:00
parent b27e424732
commit 737dcc81e2
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,8 @@
class RenameCafIdToObjectiveId < ActiveRecord::Migration[7.0]
def change
def change_table
remove_foreign_key :principles, :cafs
remove_index :principles, :caf_id
rename_column :principles, :caf_id, :objective_id
add_foreign_key :principles, :objectives
end
end