Commit 6e565215 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

correction script migration mise en paiement

parent fc396842
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Administration/src/Migration/v24MisesEnPaiement.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ class v24MisesEnPaiement extends MigrationAction
        $sql = 'UPDATE mise_en_paiement SET service_id = (SELECT service_id FROM formule_resultat_service WHERE id = formule_res_service_id) WHERE service_id IS NULL AND formule_res_service_id IS NOT NULL';
        $bdd->exec($sql);

        $$this->logMsg('Injection des ID de SERVICE_REFERENTIEL dans MISE_EN_PAIEMENT...');
        $this->logMsg('Injection des ID de SERVICE_REFERENTIEL dans MISE_EN_PAIEMENT...');
        $sql = 'UPDATE mise_en_paiement SET service_referentiel_id = (SELECT service_referentiel_id FROM formule_resultat_service_ref WHERE id = formule_res_service_ref_id) WHERE service_referentiel_id IS NULL AND formule_res_service_ref_id IS NOT NULL';
        $bdd->exec($sql);