Commit 9e94879d authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Script migration V15

parent 7b24df4e
Loading
Loading
Loading
Loading
+2
Changes for admin/migration/MigrationDossier.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ class MigrationDossier extends AbstractMigration
    public function utile(): bool
    {
        $bdd = $this->manager->getBdd();
        if ($this->manager->hasOldTable('INTERVENANT_DOSSIER')) {
            $tableIntervenantDossier = $bdd->getTable('INTERVENANT_DOSSIER');
            //Si table intervenant_dossier n'est pas vide, c'est que la migration
            //a déjà eu lieu donc on ne lance pas la migration
@@ -31,6 +32,7 @@ class MigrationDossier extends AbstractMigration
            if ($intervenantDossier) {
                return false;
            }
        }

        return true;
    }