Commit 68beadea authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Dernières modifs en vrac...

parent f5cab4cc
Loading
Loading
Loading
Loading
+19 −7
Changes for data/ddl/table/IMPORT_TABLES.php: 19 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 8,
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'ORDRE'                => [
@@ -30,7 +30,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 7,
            'position'    => 8,
            'commentaire' => NULL,
        ],
        'SYNC_ENABLED'         => [
@@ -42,7 +42,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 3,
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'SYNC_FILTRE'          => [
@@ -54,7 +54,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 2,
            'position'    => 3,
            'commentaire' => NULL,
        ],
        'SYNC_HOOK_AFTER'      => [
@@ -66,7 +66,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 6,
            'position'    => 7,
            'commentaire' => NULL,
        ],
        'SYNC_HOOK_BEFORE'     => [
@@ -78,7 +78,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 5,
            'position'    => 6,
            'commentaire' => NULL,
        ],
        'SYNC_JOB'             => [
@@ -90,7 +90,19 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 4,
            'position'    => 5,
            'commentaire' => NULL,
        ],
        'SYNC_NON_IMPORTABLES' => [
            'name'        => 'SYNC_NON_IMPORTABLES',
            'type'        => 'bool',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => '0',
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 9,
            'commentaire' => NULL,
        ],
        'TABLE_NAME'           => [
+1 −0
Changes for data/ddl/view/V_IMPORT_TAB_COLS.sql: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ WHERE
SELECT
  tc.table_name,
  tc.column_name,
  CASE WHEN ',' || it.key_columns || ',' LIKE '%,' || tc.column_name || ',%' THEN 1 ELSE 0 END is_key,
  tc.data_type,
  CASE WHEN tc.char_length = 0 THEN NULL ELSE tc.char_length END length,
  CASE WHEN tc.nullable = 'Y' THEN 1 ELSE 0 END nullable,
+1 −0
Changes for data/ddl_columns_pos.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -679,6 +679,7 @@ return [
        'SYNC_JOB',
        'SYNC_HOOK_BEFORE',
        'SYNC_HOOK_AFTER',
        'SYNC_NON_IMPORTABLES',
        'ORDRE',
    ],
    'INDICATEUR'                     => [
+1 −0
Changes for data/import_tables.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ return [
    'INTERVENANT'           => [
        'KEY_COLUMNS'          => 'STATUT_ID',
        'SYNC_HOOK_BEFORE'     => "UNICAEN_IMPORT.REFRESH_MV('MV_INTERVENANT');",
        'SYNC_NON_IMPORTABLES' => true,
        'SYNC_FILTRE'          => "WHERE import_action <> 'delete' OR (
      (NOT exists(SELECT intervenant_id FROM intervenant_dossier WHERE histo_destruction IS NULL AND intervenant_id = v_diff_intervenant.id))
  AND (NOT exists(SELECT intervenant_id FROM piece_jointe WHERE histo_destruction IS NULL AND intervenant_id = v_diff_intervenant.id))
+275 −156

File changed.

Preview size limit exceeded, changes collapsed.