diff --git a/database/ddl/table/agent.php b/database/ddl/table/agent.php index 9ec24c5e037ec7066c11771ed802d8b9b3cd0734..1117df7a3b850ed935dfedf473272c4ce23d3179 100644 --- a/database/ddl/table/agent.php +++ b/database/ddl/table/agent.php @@ -10,7 +10,7 @@ return [ 'commentaire' => NULL, 'sequence' => NULL, 'columns' => [ - 'c_individu' => [ + 'c_individu' => [ 'name' => 'c_individu', 'type' => 'string', 'bdd-type' => 'character varying', @@ -22,7 +22,7 @@ return [ 'position' => 1, 'commentaire' => NULL, ], - 'created_on' => [ + 'created_on' => [ 'name' => 'created_on', 'type' => 'date', 'bdd-type' => 'timestamp without time zone', @@ -34,7 +34,7 @@ return [ 'position' => 5, 'commentaire' => NULL, ], - 'date_naissance' => [ + 'date_naissance' => [ 'name' => 'date_naissance', 'type' => 'date', 'bdd-type' => 'date', @@ -43,10 +43,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 13, + 'position' => 11, 'commentaire' => NULL, ], - 'deleted_on' => [ + 'deleted_on' => [ 'name' => 'deleted_on', 'type' => 'date', 'bdd-type' => 'timestamp without time zone', @@ -58,7 +58,7 @@ return [ 'position' => 7, 'commentaire' => NULL, ], - 'email' => [ + 'email' => [ 'name' => 'email', 'type' => 'string', 'bdd-type' => 'character varying', @@ -67,58 +67,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 11, - '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, + 'position' => 9, 'commentaire' => NULL, ], - 'id_orig' => [ + 'id_orig' => [ 'name' => 'id_orig', 'type' => 'string', 'bdd-type' => 'character varying', @@ -127,10 +79,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 20, + 'position' => 14, 'commentaire' => NULL, ], - 'login' => [ + 'login' => [ 'name' => 'login', 'type' => 'string', 'bdd-type' => 'character varying', @@ -139,10 +91,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 10, + 'position' => 8, 'commentaire' => NULL, ], - 'nom_famille' => [ + 'nom_famille' => [ 'name' => 'nom_famille', 'type' => 'string', 'bdd-type' => 'character varying', @@ -151,10 +103,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 14, + 'position' => 12, 'commentaire' => NULL, ], - 'nom_usage' => [ + 'nom_usage' => [ 'name' => 'nom_usage', 'type' => 'string', 'bdd-type' => 'character varying', @@ -166,31 +118,7 @@ return [ 'position' => 4, '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', 'type' => 'string', 'bdd-type' => 'character varying', @@ -202,7 +130,7 @@ return [ 'position' => 3, 'commentaire' => NULL, ], - 'sexe' => [ + 'sexe' => [ 'name' => 'sexe', 'type' => 'string', 'bdd-type' => 'character varying', @@ -211,10 +139,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 12, + 'position' => 10, 'commentaire' => NULL, ], - 'source_id' => [ + 'source_id' => [ 'name' => 'source_id', 'type' => 'string', 'bdd-type' => 'character varying', @@ -223,10 +151,10 @@ return [ 'precision' => NULL, 'nullable' => TRUE, 'default' => NULL, - 'position' => 19, + 'position' => 13, 'commentaire' => NULL, ], - 'updated_on' => [ + 'updated_on' => [ 'name' => 'updated_on', 'type' => 'date', 'bdd-type' => 'timestamp without time zone', @@ -238,7 +166,7 @@ return [ 'position' => 6, 'commentaire' => NULL, ], - 'utilisateur_id' => [ + 'utilisateur_id' => [ 'name' => 'utilisateur_id', 'type' => 'int', 'bdd-type' => 'integer', diff --git a/database/ddl/unique-constraint/agent_pk2.php b/database/ddl/unique-constraint/agent_pk2.php deleted file mode 100644 index 7ca14259d1165fa624c3a76b4ebd1cfb62807c3d..0000000000000000000000000000000000000000 --- a/database/ddl/unique-constraint/agent_pk2.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -//@formatter:off - -return [ - 'schema' => 'public', - 'name' => 'agent_pk2', - 'table' => 'agent', - 'index' => 'agent_pk2', - 'columns' => [ - 'id', - ], -]; - -//@formatter:on diff --git a/database/ddl_columns_pos.php b/database/ddl_columns_pos.php index f05616b33617daa8036d92692b942d2167174831..b0e2dbe59fc82a435c90a94670c9cdb4b2d7d2b9 100644 --- a/database/ddl_columns_pos.php +++ b/database/ddl_columns_pos.php @@ -11,17 +11,11 @@ return [ 'created_on', 'updated_on', 'deleted_on', - 'octo_id', - 'preecog_id', 'login', 'email', 'sexe', 'date_naissance', 'nom_famille', - 'id', - 'histo_createur_id', - 'histo_modificateur_id', - 'histo_destructeur_id', 'source_id', 'id_orig', ],