db syn logical fix

This commit is contained in:
Jan Prochazka
2021-11-25 15:14:23 +01:00
parent a9216eda89
commit cec0130cba
10 changed files with 41 additions and 23 deletions

View File

@@ -83,7 +83,7 @@ export function computeDbDiffRows(
res.push(
..._.sortBy(
computeDiffRowsCore(sourceDb[objectTypeField], targetDb[objectTypeField], (a, b) =>
defs.test(a, b, opts, targetDb, driver)
defs.test(a, b, opts, sourceDb, targetDb, driver)
).map(row => ({
...row,
sourceSchemaName: row?.source?.schemaName,