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(), }; }