mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 10:33:58 +00:00
data duplicator fix
This commit is contained in:
@@ -186,9 +186,9 @@ const engines = [
|
|||||||
|
|
||||||
const filterLocal = [
|
const filterLocal = [
|
||||||
// filter local testing
|
// filter local testing
|
||||||
'-MySQL',
|
'MySQL',
|
||||||
'-MariaDB',
|
'-MariaDB',
|
||||||
'PostgreSQL',
|
'-PostgreSQL',
|
||||||
'-SQL Server',
|
'-SQL Server',
|
||||||
'-SQLite',
|
'-SQLite',
|
||||||
'-CockroachDB',
|
'-CockroachDB',
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ class DuplicatorItemHolder {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
const qrow = qres.rows[0];
|
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() {
|
async runImport() {
|
||||||
|
|||||||
Reference in New Issue
Block a user