This commit is contained in:
Jan Prochazka
2021-10-24 15:54:17 +02:00
parent 84832472a2
commit a9b201e1cb
6 changed files with 62 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ export function computeDiffRows(
opts: DbDiffOptions,
driver: EngineDriver
) {
if (!sourceDb || !targetDb) return [];
if (!sourceDb || !targetDb || !driver) return [];
const res = [];
for (const obj of sourceDb.tables) {
const paired = targetDb.tables.find(x => x.pairingId == obj.pairingId);