From af4d354ff4b4af19227321bf8857be3aabc607d9 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 16 Sep 2021 10:06:41 +0200 Subject: [PATCH] fix --- packages/tools/src/diffTools.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/tools/src/diffTools.ts b/packages/tools/src/diffTools.ts index c68d015f..31dc6d66 100644 --- a/packages/tools/src/diffTools.ts +++ b/packages/tools/src/diffTools.ts @@ -48,6 +48,10 @@ export function generateTablePairingId(table: TableInfo): TableInfo { ...cnt, pairingId: cnt.pairingId || uuidv1(), })), + uniques: table.uniques?.map(cnt => ({ + ...cnt, + pairingId: cnt.pairingId || uuidv1(), + })), pairingId: table.pairingId || uuidv1(), }; }