data duplicator fix

This commit is contained in:
Jan Prochazka
2024-11-07 14:05:13 +01:00
parent 1fb4a06092
commit 2d823140b9
2 changed files with 3 additions and 3 deletions

View File

@@ -186,9 +186,9 @@ const engines = [
const filterLocal = [
// filter local testing
'-MySQL',
'MySQL',
'-MariaDB',
'PostgreSQL',
'-PostgreSQL',
'-SQL Server',
'-SQLite',
'-CockroachDB',

View File

@@ -142,7 +142,7 @@ class DuplicatorItemHolder {
});
});
const qrow = qres.rows[0];
return this.weakReferences.filter(x => !qrow[x.columnName]).map(x => x.columnName);
return this.weakReferences.filter(x => qrow[x.columnName] == 0).map(x => x.columnName);
}
async runImport() {