From e327897e115869821dc4fed8014d05946779571f Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Fri, 27 Mar 2026 08:10:27 +0100 Subject: [PATCH] feat: define tables and their primary keys for database synchronization. --- sync/tables.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sync/tables.js b/sync/tables.js index 60d433a..7c7821c 100644 --- a/sync/tables.js +++ b/sync/tables.js @@ -27,6 +27,10 @@ const TABLES = [ { name: 'ranking', pk: ['gencod', 'site'] }, // CA journalier + trafic { name: 'statopca', pk: ['site', 'datmvt'] }, + // Gamme conseillée par site + { name: 'stat_dispoperm', pk: ['codesite', 'code_art'] }, + // Journal de commande conseillé + { name: 'phenix_quantite_conseille', pk: ['ident'] }, // Commandes { name: 'cdefou_reception', pk: ['no_id'] }, { name: 'cdefou_vivant', pk: ['cdefou_ligne_com_no_id', 'artfou1_no_id'] },