Skip to content
Snippets Groups Projects
Commit fcbb94b4 authored by root's avatar root
Browse files

Merge branch 'master' into release_1.1.0

parents 7834b6e7 3330d51e
No related branches found
No related tags found
No related merge requests found
Showing
with 219 additions and 1342 deletions
<?php <?php
use Doctrine\DBAL\Driver\PgSQL\Driver as DriverPgSQL; use Doctrine\DBAL\Driver\PgSQL\Driver as DriverPgSQL;
use Doctrine\DBAL\Driver\OCI8\Driver as DriverOCI8;
use Doctrine\ORM\Mapping\Driver\XmlDriver; use Doctrine\ORM\Mapping\Driver\XmlDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain; use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
$env = getenv('APPLICATION_ENV') ?: 'production'; const DB_APP_DRIVER = DriverPgSQL::class;
const DB_APP_HOSTNAME = 'XXXX';
const DRIVER_OCI8 = DriverOCI8::class; const DB_APP_PORT = 'XXXX';
const DRIVER_PGSQL = DriverPgSQL::class; const DB_APP_NAME = 'XXXX';
const DB_APP_USERNAME = 'XXXX';
const DB_DRIVER = DRIVER_PGSQL; const DB_APP_PASSWORD = 'XXXX';
const DB_HOSTNAME = 'XXXX';
const DB_PORT = 'XXXX';
const DB_NAME = 'XXXX';
const DB_USERNAME = 'XXXX';
const DB_PASSWORD = 'XXXX';
const DB_SYNCHRO_DRIVER = DRIVER_OCI8;
const DB_SYNCHRO_HOSTNAME = 'XXXX';
const DB_SYNCHRO_PORT = 'XXXX';
const DB_SYNCHRO_NAME = 'XXXX';
const DB_SYNCHRO_USERNAME = 'XXXX';
const DB_SYNCHRO_PASSWORD = 'XXXX';
return [ return [
'doctrine' => [ 'doctrine' => [
'driver' => [ 'driver' => [
'orm_octopus' => [ 'orm_default' => [
'class' => MappingDriverChain::class, 'class' => MappingDriverChain::class,
'drivers' => [ 'drivers' => [
'Application\Entity\Db' => 'orm_octopus_xml_driver', 'Application\Entity\Db' => 'orm_default_xml_driver',
], ],
], ],
'orm_octopus_xml_driver' => [ 'orm_default_xml_driver' => [
'class' => XmlDriver::class, 'class' => XmlDriver::class,
'cache' => 'apc', 'cache' => 'apc',
'paths' => [ 'paths' => [
...@@ -43,35 +30,19 @@ return [ ...@@ -43,35 +30,19 @@ return [
], ],
'cache' => [ 'cache' => [
'apc' => [ 'apc' => [
'namespace' => 'PREECOG__' . __NAMESPACE__, 'namespace' => 'MESFORMATIONS__' . __NAMESPACE__,
], ],
], ],
'connection' => [ 'connection' => [
// base de l'application
'orm_default' => [ 'orm_default' => [
'driverClass' => DB_DRIVER, 'driverClass' => DB_APP_DRIVER,
'params' => [ 'params' => [
'driver' => 'Postgresql', 'host' => DB_APP_HOSTNAME,
'host' => DB_HOSTNAME, 'port' => DB_APP_PORT,
'port' => DB_PORT, 'user' => DB_APP_USERNAME,
'password' => DB_APP_PASSWORD,
'dbname' => DB_APP_NAME,
'charset' => 'utf8', 'charset' => 'utf8',
'driverOptions' => [1002 => 'SET NAMES utf8'],
'user' => DB_USERNAME,
'username' => DB_USERNAME,
'password' => DB_PASSWORD,
'dbname' => DB_NAME,
],
],
'orm_octopus' => [
'driverClass' => DB_SYNCHRO_DRIVER,
'params' => [
'host' => DB_SYNCHRO_HOSTNAME,
'port' => DB_SYNCHRO_PORT,
'user' => DB_SYNCHRO_USERNAME,
'password' => DB_SYNCHRO_PASSWORD,
'service' => DB_SYNCHRO_NAME,
'servicename' => DB_SYNCHRO_NAME,
'charset' => 'AL32UTF8',
], ],
], ],
], ],
...@@ -80,10 +51,6 @@ return [ ...@@ -80,10 +51,6 @@ return [
'connection' => 'orm_default', 'connection' => 'orm_default',
'configuration' => 'orm_default', 'configuration' => 'orm_default',
], ],
'orm_octopus' => [
'connection' => 'orm_octopus',
'configuration' => 'orm_octopus',
],
], ],
'configuration' => [ 'configuration' => [
'orm_default' => [ 'orm_default' => [
...@@ -92,14 +59,7 @@ return [ ...@@ -92,14 +59,7 @@ return [
'result_cache' => 'array', 'result_cache' => 'array',
'hydration_cache' => 'array', 'hydration_cache' => 'array',
'generate_proxies' => true, 'generate_proxies' => true,
], 'driver' => 'orm_default',
'orm_octopus' => [
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'hydration_cache' => 'array',
'generate_proxies' => true,
'driver' => 'orm_octopus',
], ],
], ],
], ],
......
<?php
use Doctrine\DBAL\Driver\PgSQL\Driver as DriverPgSQL;
use Doctrine\DBAL\Driver\OCI8\Driver as DriverOCI8;
use Doctrine\ORM\Mapping\Driver\XmlDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
const DRIVER_SIRH_OCI8 = DriverOCI8::class;
const DRIVER_SIRH_PGSQL = DriverPgSQL::class;
const DB_SIRH_DRIVER = DRIVER_SIRH_PGSQL;
//const DB_SIRH_DRIVER = DRIVER_SIRH_OCI8;
const DB_SIRH_HOSTNAME = 'XXXX';
const DB_SIRH_PORT = 'XXXX';
const DB_SIRH_NAME = 'XXXX';
const DB_SIRH_USERNAME = 'XXXX';
const DB_SIRH_PASSWORD = 'XXXX';
return [
'doctrine' => [
'driver' => [
'orm_sirh' => [
'class' => MappingDriverChain::class,
'drivers' => [
'Application\Entity\Db' => 'orm_sirh_xml_driver',
],
],
'orm_sirh_xml_driver' => [
'class' => XmlDriver::class,
'cache' => 'apc',
'paths' => [
__DIR__ . '/../src/Application/Entity/Db/Mapping',
],
],
],
'cache' => [
'apc' => [
'namespace' => 'MESFORMATIONS__' . __NAMESPACE__,
],
],
'connection' => [
'orm_sirh' => [
'driverClass' => DB_SIRH_DRIVER,
'params' => [
'host' => DB_SIRH_HOSTNAME,
'port' => DB_SIRH_PORT,
'user' => DB_SIRH_USERNAME,
'password' => DB_SIRH_PASSWORD,
'service' => DB_SIRH_NAME,
'servicename' => DB_SIRH_NAME,
'charset' => 'AL32UTF8',
],
],
],
'entitymanager' => [
'orm_sirh' => [
'connection' => 'orm_sirh',
'configuration' => 'orm_sirh',
],
],
'configuration' => [
'orm_sirh' => [
'metadata_cache' => 'array',
'query_cache' => 'array',
'result_cache' => 'array',
'hydration_cache' => 'array',
'generate_proxies' => true,
'driver' => 'orm_sirh',
],
],
],
];
\ No newline at end of file
...@@ -223,39 +223,6 @@ return [ ...@@ -223,39 +223,6 @@ return [
], ],
'id' => 'id', 'id' => 'id',
], ],
'AGENT_ECHELON' => [
'order' => 5200,
'source' => 'OCTOPUS',
'orm_source' => 'orm_octopus',
'orm_destination' => 'orm_default',
'table_source' => 'V_EMC2_AGENT_ECHELON',
'table_destination' => 'agent_carriere_echelon',
'correspondance' => [
'id' => 'id',
'agent_id' => 'agent_id',
'echelon' => 'echelon',
'date_debut' => 'd_debut',
'date_fin' => 'd_fin',
],
'id' => 'id',
],
'AGENT_QUOTITE' => [
'order' => 5300,
'source' => 'OCTOPUS',
'orm_source' => 'orm_octopus',
'orm_destination' => 'orm_default',
'table_source' => 'V_EMC2_AGENT_QUOTITE',
'table_destination' => 'agent_carriere_quotite',
'correspondance' => [
'id' => 'id',
'agent_id' => 'agent_id',
'quotite' => 'quotite',
'date_debut' => 'd_debut',
'date_fin' => 'd_fin',
'modalite' => 'modalite_de_service',
],
'id' => 'id',
],
'AGENT_POSTE' => [ 'AGENT_POSTE' => [
'order' => 5500, 'order' => 5500,
'source' => 'OCTOPUS', 'source' => 'OCTOPUS',
......
...@@ -227,24 +227,6 @@ return [ ...@@ -227,24 +227,6 @@ return [
'id' => 'ID', 'id' => 'ID',
'separator' => 'STRUCTURE_ID' 'separator' => 'STRUCTURE_ID'
], ],
'AGENT_QUOTITE' => [
'order' => 5300,
'source' => 'OCTOPUS',
'orm_source' => 'orm_octopus',
'orm_destination' => 'orm_default',
'table_source' => 'V_MESFORMATIONS_AGENT_QUOTITE',
'table_destination' => 'agent_carriere_quotite',
'correspondance' => [
'ID_ORIG' => 'id',
'AGENT_ID' => 'agent_id',
'QUOTITE' => 'quotite',
'DATE_DEBUT' => 'd_debut',
'DATE_FIN' => 'd_fin',
//'MODALITE' => 'modalite_de_service',
],
'id' => 'ID_ORIG',
'separator' => 'QUOTITE'
],
'AGENT_STATUT' => [ 'AGENT_STATUT' => [
'order' => 5400, 'order' => 5400,
'source' => 'OCTOPUS', 'source' => 'OCTOPUS',
...@@ -276,23 +258,6 @@ return [ ...@@ -276,23 +258,6 @@ return [
'id' => 'ID_ORIG', 'id' => 'ID_ORIG',
'separator' => 'STRUCTURE_ID', 'separator' => 'STRUCTURE_ID',
], ],
'AGENT_ECHELON' => [
'order' => 5200,
'source' => 'OCTOPUS',
'orm_source' => 'orm_octopus',
'orm_destination' => 'orm_default',
'table_source' => 'V_MESFORMATIONS_AGENT_ECHELON',
'table_destination' => 'agent_carriere_echelon',
'correspondance' => [
'ID_ORIG' => 'id',
'AGENT_ID' => 'agent_id',
'ECHELON' => 'echelon',
'DATE_DEBUT' => 'd_debut',
'DATE_FIN' => 'd_fin',
],
'id' => 'ID_ORIG',
'separator' => 'ECHELON'
],
'AGENT_VALIDATEUR' => [ 'AGENT_VALIDATEUR' => [
'order' => 5200, 'order' => 5200,
'source' => 'OCTOPUS', 'source' => 'OCTOPUS',
......
...@@ -45,12 +45,12 @@ return [ ...@@ -45,12 +45,12 @@ return [
'options' => [], 'options' => [],
], ],
'unicaen_utilisateur_role' => [ 'unicaen_utilisateur_role' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => 'role_id', 'key' => 'role_id',
'options' => [], 'options' => [],
], ],
'unicaen_utilisateur_role_linker' => [ 'unicaen_utilisateur_role_linker' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['user_id', 'role_id'], 'key' => ['user_id', 'role_id'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -61,12 +61,12 @@ return [ ...@@ -61,12 +61,12 @@ return [
], ],
//UNICAEN PRIVILEGE //UNICAEN PRIVILEGE
'unicaen_privilege_categorie' => [ 'unicaen_privilege_categorie' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => 'code', 'key' => 'code',
'options' => [], 'options' => [],
], ],
'unicaen_privilege_privilege' => [ 'unicaen_privilege_privilege' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['categorie_id' ,'code'], 'key' => ['categorie_id' ,'code'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -75,7 +75,7 @@ return [ ...@@ -75,7 +75,7 @@ return [
], ],
], ],
'unicaen_privilege_privilege_role_linker' => [ 'unicaen_privilege_privilege_role_linker' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['role_id', 'privilege_id'], 'key' => ['role_id', 'privilege_id'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -86,12 +86,12 @@ return [ ...@@ -86,12 +86,12 @@ return [
], ],
//UNICAEN PARAMETRE //UNICAEN PARAMETRE
'unicaen_parametre_categorie' => [ 'unicaen_parametre_categorie' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => 'code', 'key' => 'code',
'options' => [], 'options' => [],
], ],
'unicaen_parametre_parametre' => [ 'unicaen_parametre_parametre' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['categorie_id' ,'code'], 'key' => ['categorie_id' ,'code'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -101,12 +101,12 @@ return [ ...@@ -101,12 +101,12 @@ return [
], ],
//UNICAEN ETAT //UNICAEN ETAT
'unicaen_etat_categorie' => [ 'unicaen_etat_categorie' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
'unicaen_etat_type' => [ 'unicaen_etat_type' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['categorie_id','code'], 'key' => ['categorie_id','code'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -116,29 +116,29 @@ return [ ...@@ -116,29 +116,29 @@ return [
], ],
//UNICAEN VALIDATION //UNICAEN VALIDATION
'unicaen_validation_type' => [ 'unicaen_validation_type' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
//UNICAEN EVENEMENT //UNICAEN EVENEMENT
'unicaen_evenement_etat' => [ 'unicaen_evenement_etat' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
'unicaen_evenement_type' => [ 'unicaen_evenement_type' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
//UNICAEN ENQUETE //UNICAEN ENQUETE
'unicaen_enquete_enquete' => [ 'unicaen_enquete_enquete' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
'unicaen_enquete_groupe' => [ 'unicaen_enquete_groupe' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['enquete_id','code'], 'key' => ['enquete_id','code'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -147,7 +147,7 @@ return [ ...@@ -147,7 +147,7 @@ return [
], ],
], ],
'unicaen_enquete_question' => [ 'unicaen_enquete_question' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['enquete_id','groupe_id', 'libelle'], 'key' => ['enquete_id','groupe_id', 'libelle'],
'options' => [ 'options' => [
'columns' => [ 'columns' => [
...@@ -158,24 +158,24 @@ return [ ...@@ -158,24 +158,24 @@ return [
], ],
//UNICAEN RENDERER //UNICAEN RENDERER
'unicaen_renderer_macro' => [ 'unicaen_renderer_macro' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
'unicaen_renderer_template' => [ 'unicaen_renderer_template' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
//fichier nature //fichier nature
'fichier_nature' => [ 'fichier_nature' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['code'], 'key' => ['code'],
'options' => [], 'options' => [],
], ],
//formation session type // todo: ajouter un code !!! //formation session type // todo: ajouter un code !!!
'formation_session_type' => [ 'formation_session_type' => [
'actions' => ['install', 'update'], 'actions' => ['install'],
'key' => ['libelle'], 'key' => ['libelle'],
'options' => [], 'options' => [],
], ],
...@@ -272,12 +272,12 @@ return [ ...@@ -272,12 +272,12 @@ return [
'default' => [ 'default' => [
'driver' => 'Postgresql', 'driver' => 'Postgresql',
'charset' => 'utf8', 'charset' => 'utf8',
'port' => DB_PORT, 'port' => DB_APP_PORT,
'host' => DB_HOSTNAME, 'host' => DB_APP_HOSTNAME,
'dbname' => DB_NAME, 'dbname' => DB_APP_NAME,
'user' => DB_USERNAME, 'user' => DB_APP_USERNAME,
'password' => DB_PASSWORD, 'password' => DB_APP_PASSWORD,
], ],
], ],
], ],
......
...@@ -21,24 +21,14 @@ return [ ...@@ -21,24 +21,14 @@ return [
*/ */
'module' => [ 'module' => [
'default' => [
'redirect_to' => ['PPP.NNN@XXX.fr',], 'redirect_to' => ['PPP.NNN@XXX.fr',],
'do_not_send' => false, 'do_not_send' => false,
'redirect' => true, 'redirect' => true,
'subject_prefix' => 'Mes Formations', 'subject_prefix' => 'Mes Formations',
'from_name' => 'Mes Formations | Application de gestion des formations du personnel', 'from_name' => 'Mes Formations | Application de gestion des formations du personnel',
'from_email' => 'XXXX', 'from_email' => 'XXXX',
//'reply_to' => 'XXXX',
], ],
'Formation' => [
'redirect_to' => [ 'PPP.NNN@XXX.fr', ],
'do_not_send' => false,
'redirect' => true,
'subject_prefix' => 'Mes Formations',
'from_name' => 'Mes Formations | Application de gestion des formations du personnel',
'from_email' => 'XXXX',
]
]
], ],
]; ];
\ No newline at end of file
This diff is collapsed.
<?php
//@formatter:off
return [
'name' => 'agent_carriere_echelon_agent_id_index',
'unique' => FALSE,
'type' => 'btree',
'table' => 'agent_carriere_echelon',
'schema' => 'public',
'columns' => [
'agent_id',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'name' => 'agent_quotite_id_uindex',
'unique' => TRUE,
'type' => 'btree',
'table' => 'agent_carriere_quotite',
'schema' => 'public',
'columns' => [
'id',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_carriere_echelon_pk',
'table' => 'agent_carriere_echelon',
'index' => 'agent_carriere_echelon_pk',
'columns' => [
'id',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_quotite_pk',
'table' => 'agent_carriere_quotite',
'index' => 'agent_quotite_pk',
'columns' => [
'id',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_carriere_echelon_agent_c_individu_fk',
'table' => 'agent_carriere_echelon',
'rtable' => 'agent',
'update_rule' => 'NO ACTION',
'delete_rule' => 'CASCADE',
'index' => 'agent_pk',
'columns' => [
'agent_id' => 'c_individu',
],
];
//@formatter:on
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_carriere_quotite_agent_c_individu_fk',
'table' => 'agent_carriere_quotite',
'rtable' => 'agent',
'update_rule' => 'NO ACTION',
'delete_rule' => 'CASCADE',
'index' => 'agent_pk',
'columns' => [
'agent_id' => 'c_individu',
],
];
//@formatter:on
...@@ -43,7 +43,7 @@ return [ ...@@ -43,7 +43,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 13, 'position' => 11,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'deleted_on' => [ 'deleted_on' => [
...@@ -67,55 +67,7 @@ return [ ...@@ -67,55 +67,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 11, 'position' => 9,
'commentaire' => NULL,
],
'histo_createur_id' => [
'name' => 'histo_createur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 16,
'commentaire' => NULL,
],
'histo_destructeur_id' => [
'name' => 'histo_destructeur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 18,
'commentaire' => NULL,
],
'histo_modificateur_id' => [
'name' => 'histo_modificateur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 17,
'commentaire' => NULL,
],
'id' => [
'name' => 'id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 15,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'id_orig' => [ 'id_orig' => [
...@@ -127,7 +79,7 @@ return [ ...@@ -127,7 +79,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 20, 'position' => 14,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'login' => [ 'login' => [
...@@ -139,7 +91,7 @@ return [ ...@@ -139,7 +91,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 10, 'position' => 8,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'nom_famille' => [ 'nom_famille' => [
...@@ -151,7 +103,7 @@ return [ ...@@ -151,7 +103,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 14, 'position' => 12,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'nom_usage' => [ 'nom_usage' => [
...@@ -166,30 +118,6 @@ return [ ...@@ -166,30 +118,6 @@ return [
'position' => 4, 'position' => 4,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'octo_id' => [
'name' => 'octo_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 40,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 8,
'commentaire' => NULL,
],
'preecog_id' => [
'name' => 'preecog_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 40,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 9,
'commentaire' => NULL,
],
'prenom' => [ 'prenom' => [
'name' => 'prenom', 'name' => 'prenom',
'type' => 'string', 'type' => 'string',
...@@ -211,7 +139,7 @@ return [ ...@@ -211,7 +139,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 12, 'position' => 10,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'source_id' => [ 'source_id' => [
...@@ -223,7 +151,7 @@ return [ ...@@ -223,7 +151,7 @@ return [
'precision' => NULL, 'precision' => NULL,
'nullable' => TRUE, 'nullable' => TRUE,
'default' => NULL, 'default' => NULL,
'position' => 19, 'position' => 13,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'updated_on' => [ 'updated_on' => [
......
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_carriere_echelon',
'temporary' => FALSE,
'logging' => TRUE,
'commentaire' => NULL,
'sequence' => 'agent_carriere_echelon_id_seq',
'columns' => [
'agent_id' => [
'name' => 'agent_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 40,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => NULL,
'position' => 2,
'commentaire' => NULL,
],
'created_on' => [
'name' => 'created_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => FALSE,
'default' => 'CURRENT_DATE',
'position' => 8,
'commentaire' => NULL,
],
'd_debut' => [
'name' => 'd_debut',
'type' => 'date',
'bdd-type' => 'date',
'length' => 0,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => NULL,
'position' => 4,
'commentaire' => NULL,
],
'd_fin' => [
'name' => 'd_fin',
'type' => 'date',
'bdd-type' => 'date',
'length' => 0,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 5,
'commentaire' => NULL,
],
'deleted_on' => [
'name' => 'deleted_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 10,
'commentaire' => NULL,
],
'echelon' => [
'name' => 'echelon',
'type' => 'int',
'bdd-type' => 'integer',
'length' => 0,
'scale' => NULL,
'precision' => 4,
'nullable' => FALSE,
'default' => NULL,
'position' => 3,
'commentaire' => NULL,
],
'histo_createur_id' => [
'name' => 'histo_createur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 11,
'commentaire' => NULL,
],
'histo_destructeur_id' => [
'name' => 'histo_destructeur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 13,
'commentaire' => NULL,
],
'histo_modificateur_id' => [
'name' => 'histo_modificateur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 12,
'commentaire' => NULL,
],
'id' => [
'name' => 'id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 256,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => NULL,
'position' => 1,
'commentaire' => NULL,
],
'id_orig' => [
'name' => 'id_orig',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 100,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 7,
'commentaire' => NULL,
],
'source_id' => [
'name' => 'source_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 128,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => 'NULL',
'position' => 6,
'commentaire' => NULL,
],
'updated_on' => [
'name' => 'updated_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 9,
'commentaire' => NULL,
],
],
];
//@formatter:on
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_carriere_quotite',
'temporary' => FALSE,
'logging' => TRUE,
'commentaire' => NULL,
'sequence' => NULL,
'columns' => [
'agent_id' => [
'name' => 'agent_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 40,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => NULL,
'position' => 2,
'commentaire' => NULL,
],
'created_on' => [
'name' => 'created_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => FALSE,
'default' => '(\'now\'::text)::timestamp(0) without time zone',
'position' => 8,
'commentaire' => NULL,
],
'd_debut' => [
'name' => 'd_debut',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 4,
'commentaire' => NULL,
],
'd_fin' => [
'name' => 'd_fin',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 5,
'commentaire' => NULL,
],
'deleted_on' => [
'name' => 'deleted_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 10,
'commentaire' => NULL,
],
'histo_createur_id' => [
'name' => 'histo_createur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 11,
'commentaire' => NULL,
],
'histo_destructeur_id' => [
'name' => 'histo_destructeur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 13,
'commentaire' => NULL,
],
'histo_modificateur_id' => [
'name' => 'histo_modificateur_id',
'type' => 'int',
'bdd-type' => 'bigint',
'length' => 0,
'scale' => NULL,
'precision' => 8,
'nullable' => TRUE,
'default' => NULL,
'position' => 12,
'commentaire' => NULL,
],
'id' => [
'name' => 'id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 256,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => NULL,
'position' => 1,
'commentaire' => NULL,
],
'id_orig' => [
'name' => 'id_orig',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 100,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 7,
'commentaire' => NULL,
],
'modalite_de_service' => [
'name' => 'modalite_de_service',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 1024,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 14,
'commentaire' => NULL,
],
'quotite' => [
'name' => 'quotite',
'type' => 'int',
'bdd-type' => 'integer',
'length' => 0,
'scale' => NULL,
'precision' => 4,
'nullable' => TRUE,
'default' => NULL,
'position' => 3,
'commentaire' => NULL,
],
'source_id' => [
'name' => 'source_id',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 128,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 6,
'commentaire' => NULL,
],
'updated_on' => [
'name' => 'updated_on',
'type' => 'date',
'bdd-type' => 'timestamp without time zone',
'length' => 0,
'scale' => NULL,
'precision' => 6,
'nullable' => TRUE,
'default' => NULL,
'position' => 9,
'commentaire' => NULL,
],
],
];
//@formatter:on
...@@ -113,8 +113,8 @@ return [ ...@@ -113,8 +113,8 @@ return [
'length' => 256, 'length' => 256,
'scale' => NULL, 'scale' => NULL,
'precision' => NULL, 'precision' => NULL,
'nullable' => FALSE, 'nullable' => TRUE,
'default' => '\'aucun\'', 'default' => NULL,
'position' => 12, 'position' => 12,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
...@@ -130,6 +130,18 @@ return [ ...@@ -130,6 +130,18 @@ return [
'position' => 4, 'position' => 4,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'roles_autorises' => [
'name' => 'roles_autorises',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 2048,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
'default' => '\'Tous les rôles\'',
'position' => 13,
'commentaire' => NULL,
],
'titre' => [ 'titre' => [
'name' => 'titre', 'name' => 'titre',
'type' => 'string', 'type' => 'string',
......
...@@ -118,6 +118,18 @@ return [ ...@@ -118,6 +118,18 @@ return [
'position' => 8, 'position' => 8,
'commentaire' => NULL, 'commentaire' => NULL,
], ],
'reply_to' => [
'name' => 'reply_to',
'type' => 'string',
'bdd-type' => 'character varying',
'length' => 2048,
'scale' => NULL,
'precision' => NULL,
'nullable' => TRUE,
'default' => NULL,
'position' => 12,
'commentaire' => NULL,
],
'status_envoi' => [ 'status_envoi' => [
'name' => 'status_envoi', 'name' => 'status_envoi',
'type' => 'string', 'type' => 'string',
......
<?php
//@formatter:off
return [
'schema' => 'public',
'name' => 'agent_pk2',
'table' => 'agent',
'index' => 'agent_pk2',
'columns' => [
'id',
],
];
//@formatter:on
...@@ -11,17 +11,11 @@ return [ ...@@ -11,17 +11,11 @@ return [
'created_on', 'created_on',
'updated_on', 'updated_on',
'deleted_on', 'deleted_on',
'octo_id',
'preecog_id',
'login', 'login',
'email', 'email',
'sexe', 'sexe',
'date_naissance', 'date_naissance',
'nom_famille', 'nom_famille',
'id',
'histo_createur_id',
'histo_modificateur_id',
'histo_destructeur_id',
'source_id', 'source_id',
'id_orig', 'id_orig',
], ],
...@@ -1790,6 +1784,7 @@ return [ ...@@ -1790,6 +1784,7 @@ return [
'nb_elements', 'nb_elements',
'categorie_id', 'categorie_id',
'perimetre', 'perimetre',
'roles_autorises',
], ],
'unicaen_indicateur_tableau_indicateur' => [ 'unicaen_indicateur_tableau_indicateur' => [
'tableau_id', 'tableau_id',
...@@ -1814,6 +1809,7 @@ return [ ...@@ -1814,6 +1809,7 @@ return [
'log', 'log',
'copies', 'copies',
'attachment_paths', 'attachment_paths',
'reply_to',
], ],
'unicaen_observation_observation_instance' => [ 'unicaen_observation_observation_instance' => [
'id', 'id',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment