Commit 501290e1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

pb ordonnancement : workflow_etape dépend de annee

parent f81ac007
Loading
Loading
Loading
Loading
Loading
+13 −13
Changes for data/data_updater_config.php: 13 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -56,19 +56,6 @@ return [
        'actions' => ['install', 'update'],
        'key'     => 'CODE',
    ],
    'WORKFLOW_ETAPE'             => [
        'actions' => ['install', 'update', 'workflow-reset'],
        'key'     => ['CODE', 'ANNEE_ID'],
        'options' => [
            'hard-delete' => true,
            'columns'            => [
                'PERIMETRE_ID' => ['transformer' => 'SELECT id FROM perimetre WHERE code = %s'],
            ],
            'update-ignore-cols' => [
                'LIBELLE_INTERVENANT', 'LIBELLE_AUTRES', 'DESC_NON_FRANCHIE', 'DESC_SANS_OBJECTIF', 'ORDRE',
            ],
        ],
    ],
    'TYPE_AGREMENT'              => [
        'actions' => ['install', 'update'],
        'key'     => 'CODE',
@@ -136,6 +123,19 @@ return [


    /* Tables avec paramétrages pré-configurés (certaines colonnes + nouveaux enregistrements) */
    'WORKFLOW_ETAPE'             => [
        'actions' => ['install', 'update', 'workflow-reset'],
        'key'     => ['CODE', 'ANNEE_ID'],
        'options' => [
            'hard-delete' => true,
            'columns'            => [
                'PERIMETRE_ID' => ['transformer' => 'SELECT id FROM perimetre WHERE code = %s'],
            ],
            'update-ignore-cols' => [
                'LIBELLE_INTERVENANT', 'LIBELLE_AUTRES', 'DESC_NON_FRANCHIE', 'DESC_SANS_OBJECTIF', 'ORDRE',
            ],
        ],
    ],
    'ADRESSE_NUMERO_COMPL'       => [
        'actions' => ['install'],
        'key'     => ['CODE'],