mirror of
https://github.com/R0m1k3/Apiflow-gateway.git
synced 2026-10-11 17:27:08 +02:00
feat: define tables and their primary keys for database synchronization.
This commit is contained in:
1 parent
83a4710e5d
commit
e327897e11
1 file changed
+4
@@ -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'] },
|
||||
|
||||
Reference in new issue
Block a user