Commit eca96e9e authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Migration Statut Autres

parent aedb8357
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,7 +19,9 @@ class MigrationStatutAutres extends AbstractMigration

    public function utile(): bool
    {
        return $this->manager->hasOld('table', 'DOSSIER');
        //Forcer le paramétrage du statuts AUTRES même après la migration v15
        return ($this->manager->hasNew('table', 'INTERVENANT_DOSSIER') ||
            $this->manager->has('table', 'INTERVENANT_DOSSIER'));
    }