Commit 00daeb1b authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Suppression du TBL service_referentiel, non utilisé, et remplacement par le nouveau tbl_referentiel

parent ab3b271b
<?php
//@formatter:off
return [
'name' => 'DOSSIER_CHAMP_APS_DCA_FK',
'unique' => FALSE,
'table' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
'columns' => [
'DOSSIER_CHAMP_AUTRE_ID',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'name' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT_UN',
'unique' => TRUE,
'table' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
'columns' => [
'DOSSIER_CHAMP_AUTRE_ID',
'STATUT_ID',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'name' => 'STATUT_CODE_UN',
'unique' => TRUE,
'table' => 'STATUT',
'columns' => [
'CODE',
'HISTO_DESTRUCTION',
],
];
//@formatter:on
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_ANNEE_FK',
'name' => 'TBL_REFERENTIEL_ANNEE_FK',
'unique' => FALSE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'ANNEE_ID',
],
......
......@@ -3,11 +3,11 @@
//@formatter:off
return [
'name' => 'DOSSIER_CHAMP_APS_STATUT_FK',
'name' => 'TBL_REFERENTIEL_FONCTION_FK',
'unique' => FALSE,
'table' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'STATUT_ID',
'FONCTION_REFERENTIEL_ID',
],
];
......
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_INTERVENANT_FK',
'name' => 'TBL_REFERENTIEL_INTERVENANT_FK',
'unique' => FALSE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'INTERVENANT_ID',
],
......
<?php
//@formatter:off
return [
'name' => 'TBL_REFERENTIEL_INT_STRUCTURE_FK',
'unique' => FALSE,
'table' => 'TBL_REFERENTIEL',
'columns' => [
'INTERVENANT_STRUCTURE_ID',
],
];
//@formatter:on
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REFERENTIEL_PK',
'name' => 'TBL_REFERENTIEL_PK',
'unique' => TRUE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'ID',
],
......
<?php
//@formatter:off
return [
'name' => 'TBL_REFERENTIEL_SERVICE_FK',
'unique' => FALSE,
'table' => 'TBL_REFERENTIEL',
'columns' => [
'SERVICE_REFERENTIEL_ID',
],
];
//@formatter:on
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_STRUCTURE_FK',
'name' => 'TBL_REFERENTIEL_STRUCTURE_FK',
'unique' => FALSE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'STRUCTURE_ID',
],
......
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_TVH_FK',
'name' => 'TBL_REFERENTIEL_TVH_FK',
'unique' => FALSE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'TYPE_VOLUME_HORAIRE_ID',
],
......
<?php
//@formatter:off
return [
'name' => 'TBL_REFERENTIEL_TYPE_INTERVENANT_FK',
'unique' => FALSE,
'table' => 'TBL_REFERENTIEL',
'columns' => [
'TYPE_INTERVENANT_ID',
],
];
//@formatter:on
......@@ -3,11 +3,12 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REFERENTIEL_UN',
'name' => 'TBL_REFERENTIEL_UN',
'unique' => TRUE,
'table' => 'TBL_SERVICE_REFERENTIEL',
'table' => 'TBL_REFERENTIEL',
'columns' => [
'INTERVENANT_ID',
'SERVICE_REFERENTIEL_ID',
'TYPE_VOLUME_HORAIRE_ID',
'STRUCTURE_ID',
],
......
......@@ -3,9 +3,9 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REFERENTIEL_PK',
'table' => 'TBL_SERVICE_REFERENTIEL',
'index' => 'TBL_SERVICE_REFERENTIEL_PK',
'name' => 'TBL_REFERENTIEL_PK',
'table' => 'TBL_REFERENTIEL',
'index' => 'TBL_REFERENTIEL_PK',
'columns' => [
'ID',
],
......
<?php
//@formatter:off
return [
'name' => 'DOSSIER_CHAMP_APS_DCA_FK',
'table' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
'rtable' => 'DOSSIER_CHAMP_AUTRE',
'delete_rule' => 'CASCADE',
'index' => NULL,
'columns' => [
'DOSSIER_CHAMP_AUTRE_ID' => 'ID',
],
];
//@formatter:on
......@@ -3,8 +3,8 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_ANNEE_FK',
'table' => 'TBL_SERVICE_REFERENTIEL',
'name' => 'TBL_REFERENTIEL_ANNEE_FK',
'table' => 'TBL_REFERENTIEL',
'rtable' => 'ANNEE',
'delete_rule' => 'CASCADE',
'index' => NULL,
......
<?php
//@formatter:off
return [
'name' => 'TBL_REFERENTIEL_FONCTION_FK',
'table' => 'TBL_REFERENTIEL',
'rtable' => 'FONCTION_REFERENTIEL',
'delete_rule' => NULL,
'index' => NULL,
'columns' => [
'FONCTION_REFERENTIEL_ID' => 'ID',
],
];
//@formatter:on
......@@ -3,8 +3,8 @@
//@formatter:off
return [
'name' => 'TBL_SERVICE_REF_INTERVENANT_FK',
'table' => 'TBL_SERVICE_REFERENTIEL',
'name' => 'TBL_REFERENTIEL_INTERVENANT_FK',
'table' => 'TBL_REFERENTIEL',
'rtable' => 'INTERVENANT',
'delete_rule' => 'CASCADE',
'index' => NULL,
......
......@@ -3,13 +3,13 @@
//@formatter:off
return [
'name' => 'DOSSIER_CHAMP_APS_STATUT_FK',
'table' => 'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
'rtable' => 'STATUT',
'name' => 'TBL_REFERENTIEL_INT_STRUCTURE_FK',
'table' => 'TBL_REFERENTIEL',
'rtable' => 'STRUCTURE',
'delete_rule' => 'CASCADE',
'index' => NULL,
'columns' => [
'STATUT_ID' => 'ID',
'INTERVENANT_STRUCTURE_ID' => 'ID',
],
];
......
<?php
//@formatter:off
return [
'name' => 'TBL_REFERENTIEL_SERVICE_FK',
'table' => 'TBL_REFERENTIEL',
'rtable' => 'SERVICE_REFERENTIEL',
'delete_rule' => NULL,
'index' => NULL,
'columns' => [
'SERVICE_REFERENTIEL_ID' => 'ID',
],
];
//@formatter:on
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment