Commit 984d6c6e authored by Florian Joriot's avatar Florian Joriot
Browse files

Merge contrat modularisation + contrat referentiel et mission

parent b64d8d58
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
<?php

//@formatter:off

return [
    'name'    => 'TYPE_SERVICE_PK',
    'unique'  => TRUE,
    'table'   => 'TYPE_SERVICE',
    'columns' => [
        'ID',
    ],
];

//@formatter:on
+14 −0
Original line number Diff line number Diff line
<?php

//@formatter:off

return [
    'name'    => 'TYPE_SERVICE_PK',
    'table'   => 'TYPE_SERVICE',
    'index'   => 'TYPE_SERVICE_PK',
    'columns' => [
        'ID',
    ],
];

//@formatter:on
+51 −0
Original line number Diff line number Diff line
<?php

//@formatter:off

return [
    'name'        => 'TYPE_SERVICE',
    'temporary'   => FALSE,
    'logging'     => TRUE,
    'commentaire' => NULL,
    'sequence'    => NULL,
    'columns'     => [
        'CODE'    => [
            'name'        => 'CODE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 20,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'ID'      => [
            'name'        => 'ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 1,
            'commentaire' => NULL,
        ],
        'LIBELLE' => [
            'name'        => 'LIBELLE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 30,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 3,
            'commentaire' => NULL,
        ],
    ],
];

//@formatter:on
+12 −0
Original line number Diff line number Diff line
@@ -21,6 +21,18 @@ return [
            'position'    => 13,
            'commentaire' => NULL,
        ],
        'CONTRAT_ID'             => [
            'name'        => 'CONTRAT_ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 16,
            'commentaire' => NULL,
        ],
        'HEURES'                 => [
            'name'        => 'HEURES',
            'type'        => 'float',
+1 −1
Original line number Diff line number Diff line
CREATE OR REPLACE TRIGGER "VOLUME_HORAIRE_REF_CK" BEFORE UPDATE ON volume_horaire_REF FOR EACH ROW
CREATE OR REPLACE TRIGGER "VOLUME_HORAIRE_REF_CK" BEFORE UPDATE OF id,type_volume_horaire_id,service_referentiel_id,heures,histo_creation,histo_createur_id,source_id,source_code,horaire_debut,horaire_fin ON volume_horaire_REF FOR EACH ROW
  DECLARE
    has_validation NUMERIC;
  BEGIN
Loading