Merge pull request #7191 from Remi-Frk/fix/7189/migrate_20220301160753
fix(migrate): lien administrateurs_procedures - administrateurs
This commit is contained in:
commit
f5fafbba24
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ class AddAdministrateurForeignKeyToAdministrateursProcedure < ActiveRecord::Migr
|
|||
include Database::MigrationHelpers
|
||||
|
||||
def up
|
||||
delete_orphans :administrateurs_procedures, :administrateurs_procedures
|
||||
add_foreign_key :administrateurs_procedures, :administrateurs_procedures
|
||||
delete_orphans :administrateurs_procedures, :administrateurs
|
||||
add_foreign_key :administrateurs_procedures, :administrateurs
|
||||
end
|
||||
|
||||
def down
|
||||
|
|
Loading…
Reference in a new issue