feat: define tables and their primary keys for database synchronization.

This commit is contained in:
Michael committed 2026-03-27 08:10:27 +01:00
1 parent 83a4710e5d
commit e327897e11
1 file changed
+4
+4
View File
@@ -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'] },