mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 14:46:01 +00:00
db sync
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user