From 17bf19e3f04d4b8896db97622f31695db848470b Mon Sep 17 00:00:00 2001 From: Remi-Frk <89904222+Remi-Frk@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:16:45 +0200 Subject: [PATCH] fix(migrate): lien administrateurs_procedures - administrateurs --- ...administrateur_foreign_key_to_administrateurs_procedure.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20220301160753_add_administrateur_foreign_key_to_administrateurs_procedure.rb b/db/migrate/20220301160753_add_administrateur_foreign_key_to_administrateurs_procedure.rb index 944940df1..ec60fcbad 100644 --- a/db/migrate/20220301160753_add_administrateur_foreign_key_to_administrateurs_procedure.rb +++ b/db/migrate/20220301160753_add_administrateur_foreign_key_to_administrateurs_procedure.rb @@ -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