fix: correct DEFAULT_ORIENTATIONS for _ProductConstructeurs

After migration, the table orientation is now A=constructeur, B=product.
Update the fallback orientation to match the new schema.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-01-22 12:06:08 +01:00
parent 208d49aac8
commit f82a79b2aa

View File

@@ -12,7 +12,7 @@ const DEFAULT_ORIENTATIONS: Record<string, LinkOrientation> = {
_MachineConstructeurs: { parentColumn: 'A', constructeurColumn: 'B' },
_ComposantConstructeurs: { parentColumn: 'A', constructeurColumn: 'B' },
_PieceConstructeurs: { parentColumn: 'A', constructeurColumn: 'B' },
_ProductConstructeurs: { parentColumn: 'A', constructeurColumn: 'B' },
_ProductConstructeurs: { parentColumn: 'B', constructeurColumn: 'A' },
};
const sanitizeTableName = (tableName: string): string => {