1 changed files with 0 additions and 1 deletions
@ -1,7 +1,6 @@
|
||||
class AddDeleteCascadeFromOrgsDown < ActiveRecord::Migration[7.0] |
||||
def change |
||||
remove_foreign_key :schemes, :organisations, column: "owning_organisation_id" |
||||
remove_foreign_key :schemes, :organisations, column: "managing_organisation_id" |
||||
add_foreign_key :schemes, :organisations, column: "owning_organisation_id", on_delete: :cascade |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue