fix(migrate): lien administrateurs_procedures - administrateurs
This commit is contained in:
parent
f35d8a2e96
commit
17bf19e3f0
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ class AddAdministrateurForeignKeyToAdministrateursProcedure < ActiveRecord::Migr
|
||||||
include Database::MigrationHelpers
|
include Database::MigrationHelpers
|
||||||
|
|
||||||
def up
|
def up
|
||||||
delete_orphans :administrateurs_procedures, :administrateurs_procedures
|
delete_orphans :administrateurs_procedures, :administrateurs
|
||||||
add_foreign_key :administrateurs_procedures, :administrateurs_procedures
|
add_foreign_key :administrateurs_procedures, :administrateurs
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|
Loading…
Reference in a new issue