Commit 89fba44f authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Suppression des vieuw scripts de migration.

Pour passer à la 18, il faudra partir de la 17.x
parent 0068bff9
Loading
Loading
Loading
Loading
+44 −44
Changes for data/ddl/table/STATUT.php: 44 added lines, 44 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 32,
            'position'    => 27,
            'commentaire' => NULL,
        ],
        'CODE'                           => [
@@ -30,7 +30,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 8,
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'CODE_RH'                        => [
@@ -42,7 +42,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 43,
            'position'    => 5,
            'commentaire' => 'Code de correspondance avec le SI RH',
        ],
        'DEPASSEMENT'                    => [
@@ -54,7 +54,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 4,
            'position'    => 7,
            'commentaire' => NULL,
        ],
        'DEPASSEMENT_SERVICE_DU_SANS_HC' => [
@@ -66,7 +66,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 25,
            'position'    => 20,
            'commentaire' => NULL,
        ],
        'DOSSIER_ADRESSE'                => [
@@ -78,7 +78,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 35,
            'position'    => 30,
            'commentaire' => NULL,
        ],
        'DOSSIER_CONTACT'                => [
@@ -90,7 +90,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 36,
            'position'    => 31,
            'commentaire' => NULL,
        ],
        'DOSSIER_EMAIL_PERSO'            => [
@@ -102,7 +102,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 37,
            'position'    => 32,
            'commentaire' => NULL,
        ],
        'DOSSIER_EMPLOYEUR'              => [
@@ -114,7 +114,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 38,
            'position'    => 33,
            'commentaire' => NULL,
        ],
        'DOSSIER_IBAN'                   => [
@@ -126,7 +126,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 39,
            'position'    => 34,
            'commentaire' => NULL,
        ],
        'DOSSIER_IDENTITE_COMP'          => [
@@ -138,7 +138,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 40,
            'position'    => 35,
            'commentaire' => NULL,
        ],
        'DOSSIER_INSEE'                  => [
@@ -150,7 +150,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 41,
            'position'    => 36,
            'commentaire' => NULL,
        ],
        'DOSSIER_TEL_PERSO'              => [
@@ -162,7 +162,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 42,
            'position'    => 37,
            'commentaire' => NULL,
        ],
        'HISTO_CREATEUR_ID'              => [
@@ -174,7 +174,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 10,
            'position'    => 41,
            'commentaire' => NULL,
        ],
        'HISTO_CREATION'                 => [
@@ -186,7 +186,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => 'SYSDATE',
            'position'    => 9,
            'position'    => 40,
            'commentaire' => NULL,
        ],
        'HISTO_DESTRUCTEUR_ID'           => [
@@ -198,7 +198,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 14,
            'position'    => 45,
            'commentaire' => NULL,
        ],
        'HISTO_DESTRUCTION'              => [
@@ -210,7 +210,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 13,
            'position'    => 44,
            'commentaire' => NULL,
        ],
        'HISTO_MODIFICATEUR_ID'          => [
@@ -222,7 +222,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 12,
            'position'    => 43,
            'commentaire' => NULL,
        ],
        'HISTO_MODIFICATION'             => [
@@ -234,7 +234,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => 'SYSDATE',
            'position'    => 11,
            'position'    => 42,
            'commentaire' => NULL,
        ],
        'ID'                             => [
@@ -258,7 +258,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 2,
            'position'    => 3,
            'commentaire' => NULL,
        ],
        'MAXIMUM_HETD'                   => [
@@ -270,7 +270,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 6,
            'position'    => 9,
            'commentaire' => NULL,
        ],
        'NON_AUTORISE'                   => [
@@ -282,7 +282,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 16,
            'position'    => 11,
            'commentaire' => NULL,
        ],
        'ORDRE'                          => [
@@ -294,7 +294,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 15,
            'position'    => 10,
            'commentaire' => NULL,
        ],
        'PEUT_AVOIR_CONTRAT'             => [
@@ -306,7 +306,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 21,
            'position'    => 16,
            'commentaire' => NULL,
        ],
        'PEUT_CHOISIR_DANS_DOSSIER'      => [
@@ -318,7 +318,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 18,
            'position'    => 13,
            'commentaire' => NULL,
        ],
        'PEUT_CLOTURER_SAISIE'           => [
@@ -330,7 +330,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 26,
            'position'    => 21,
            'commentaire' => NULL,
        ],
        'PEUT_SAISIR_DOSSIER'            => [
@@ -342,7 +342,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 19,
            'position'    => 14,
            'commentaire' => NULL,
        ],
        'PEUT_SAISIR_MOTIF_NON_PAIEMENT' => [
@@ -354,7 +354,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 20,
            'position'    => 15,
            'commentaire' => NULL,
        ],
        'PEUT_SAISIR_REFERENTIEL'        => [
@@ -366,7 +366,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 22,
            'position'    => 17,
            'commentaire' => NULL,
        ],
        'PEUT_SAISIR_SERVICE'            => [
@@ -378,7 +378,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 17,
            'position'    => 12,
            'commentaire' => NULL,
        ],
        'PEUT_SAISIR_SERVICE_EXT'        => [
@@ -390,7 +390,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 28,
            'position'    => 23,
            'commentaire' => NULL,
        ],
        'PLAFOND_HC_FI_HORS_EAD'         => [
@@ -402,7 +402,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '9999',
            'position'    => 30,
            'position'    => 25,
            'commentaire' => NULL,
        ],
        'PLAFOND_HC_HORS_REMU_FC'        => [
@@ -414,7 +414,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '9999',
            'position'    => 23,
            'position'    => 18,
            'commentaire' => NULL,
        ],
        'PLAFOND_HC_REMU_FC'             => [
@@ -426,7 +426,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '13502',
            'position'    => 24,
            'position'    => 19,
            'commentaire' => NULL,
        ],
        'PLAFOND_REFERENTIEL'            => [
@@ -438,7 +438,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 5,
            'position'    => 8,
            'commentaire' => NULL,
        ],
        'PLAFOND_REFERENTIEL_HC'         => [
@@ -450,7 +450,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '9999',
            'position'    => 33,
            'position'    => 28,
            'commentaire' => NULL,
        ],
        'PLAFOND_REFERENTIEL_SERVICE'    => [
@@ -462,7 +462,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '9999',
            'position'    => 34,
            'position'    => 29,
            'commentaire' => NULL,
        ],
        'PRIORITAIRE_INDICATEURS'        => [
@@ -474,7 +474,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 45,
            'position'    => 39,
            'commentaire' => NULL,
        ],
        'SERVICE_STATUTAIRE'             => [
@@ -486,7 +486,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 3,
            'position'    => 6,
            'commentaire' => NULL,
        ],
        'TEM_ATV'                        => [
@@ -498,7 +498,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 29,
            'position'    => 24,
            'commentaire' => NULL,
        ],
        'TEM_BIATSS'                     => [
@@ -510,7 +510,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 27,
            'position'    => 22,
            'commentaire' => NULL,
        ],
        'TEM_VA'                         => [
@@ -522,7 +522,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 44,
            'position'    => 38,
            'commentaire' => NULL,
        ],
        'TITULAIRE'                      => [
@@ -534,7 +534,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 31,
            'position'    => 26,
            'commentaire' => NULL,
        ],
        'TYPE_INTERVENANT_ID'            => [
@@ -546,7 +546,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 7,
            'position'    => 4,
            'commentaire' => NULL,
        ],
    ],
+2 −2
Changes for data/ddl/view/V_TBL_PLAFOND_INTERVENANT.sql: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ FROM
            fr.type_volume_horaire_id           type_volume_horaire_id,
            i.annee_id                          annee_id,
            i.id                                intervenant_id,
            i.statut_id                         statut_id,
            i.statut_id                         statut_intervenant_id,
            si.plafond_hc_fi_hors_ead           plafond,
            SUM(frvh.heures_compl_fi)           heures
          FROM
@@ -113,7 +113,7 @@ FROM
            i.statut_id,
            si.plafond_hc_fi_hors_ead
        ) t
          JOIN statut si ON si.id = t.statut_id
          JOIN statut si ON si.id = t.statut_intervenant_id
    ) p
  ) p
  JOIN intervenant i ON i.id = p.intervenant_id
+4 −4
Changes for data/ddl/view/V_TBL_PLAFOND_REFERENTIEL.sql: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ FROM
        i.id                              intervenant_id,
        fr.id                             fonction_referentiel_id,
        SUM(vhr.heures)                   heures,
        fr.plafond                        plafond
        0                        plafond
      FROM
             service_referentiel       sr
        JOIN intervenant                i ON i.id = sr.intervenant_id
@@ -31,7 +31,7 @@ FROM
      WHERE
        sr.histo_destruction IS NULL
      GROUP BY
        i.annee_id, vhr.type_volume_horaire_id, i.id, fr.id, fr.plafond
        i.annee_id, vhr.type_volume_horaire_id, i.id, fr.id
    ) p

    UNION ALL
@@ -43,7 +43,7 @@ FROM
        i.id                       intervenant_id,
        fr.id                      fonction_referentiel_id,
        SUM(vhr.heures)            heures,
        fr.plafond                 plafond
        0                 plafond
      FROM
        service_referentiel       sr
        JOIN intervenant i ON i.id = sr.intervenant_id
@@ -53,7 +53,7 @@ FROM
      WHERE
        sr.histo_destruction IS NULL
      GROUP BY
        i.annee_id, vhr.type_volume_horaire_id, i.id, fr.id, fr.plafond
        i.annee_id, vhr.type_volume_horaire_id, i.id, fr.id
    ) p
  ) p
  JOIN intervenant i ON i.id = p.intervenant_id
+9 −9
Changes for data/ddl_columns_pos.php: 9 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -1272,20 +1272,14 @@ return [
    ],
    'STATUT'                         => [
        'ID',
        'CODE',
        'LIBELLE',
        'TYPE_INTERVENANT_ID',
        'CODE_RH',
        'SERVICE_STATUTAIRE',
        'DEPASSEMENT',
        'PLAFOND_REFERENTIEL',
        'MAXIMUM_HETD',
        'TYPE_INTERVENANT_ID',
        'CODE',
        'CODE_RH',
        'HISTO_CREATION',
        'HISTO_CREATEUR_ID',
        'HISTO_MODIFICATION',
        'HISTO_MODIFICATEUR_ID',
        'HISTO_DESTRUCTION',
        'HISTO_DESTRUCTEUR_ID',
        'ORDRE',
        'NON_AUTORISE',
        'PEUT_SAISIR_SERVICE',
@@ -1316,6 +1310,12 @@ return [
        'DOSSIER_TEL_PERSO',
        'TEM_VA',
        'PRIORITAIRE_INDICATEURS',
        'HISTO_CREATION',
        'HISTO_CREATEUR_ID',
        'HISTO_MODIFICATION',
        'HISTO_MODIFICATEUR_ID',
        'HISTO_DESTRUCTION',
        'HISTO_DESTRUCTEUR_ID',
    ],
    'STATUT_PRIVILEGE'               => [
        'STATUT_ID',