This commit is contained in:
Jan Prochazka 2021-09-16 10:06:41 +02:00
parent ca1c7cc556
commit af4d354ff4

View File

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