Commit 45bcfcb2 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Pb suite modularisation ODF

(cherry picked from commit 4e02811e)
parent d38c7cbf
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -24,12 +24,17 @@ class v21Nomenclatures extends AbstractMigration
    public function after()
    {
        $c   = $this->manager->getOseAdmin()->getConsole();
        $du = $this->manager->getBdd()->dataUpdater();
        $bdd = $this->manager->getBdd();

        $du = $bdd->dataUpdater();

        $du->run('install', 'TAUX_REMU');
        $du->run('install', 'TAUX_REMU_VALEUR');
        $du->run('install', 'JOUR_FERIE');
        $du->run('install', 'TYPE_SERVICE');
        $du->run('install', 'TYPE_MISSION');

        $bdd->exec("update etat_sortie set PDF_TRAITEMENT = replace(PDF_TRAITEMENT, 'Application\Entity\Db\TypeIntervention', 'OffreFormation\Entity\Db\TypeIntervention') where PDF_TRAITEMENT like '%Application\Entity\Db\TypeIntervention%'");
        $bdd->exec("update etat_sortie set csv_traitement = replace(csv_traitement, 'Application\Entity\Db\TypeIntervention', 'OffreFormation\Entity\Db\TypeIntervention') where csv_traitement like '%Application\Entity\Db\TypeIntervention%'");
    }
}
 No newline at end of file