feat: Define tables and their primary keys for PostgreSQL database synchronization.

This commit is contained in:
Michael committed 2026-03-21 10:01:10 +01:00
1 parent cc69c5b886
commit 44b24f2e7b
1 file changed
+2
+2
View File
@@ -25,6 +25,8 @@ const TABLES = [
{ name: 'mvtreg', pk: [] },
// Ranking
{ name: 'ranking', pk: ['gencod', 'site'] },
// CA journalier + trafic
{ name: 'statopca', pk: ['site', 'datmvt'] },
// Commandes
{ name: 'cdefou_reception', pk: ['no_id'] },
{ name: 'cdefou_vivant', pk: ['cdefou_ligne_com_no_id', 'artfou1_no_id'] },