mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 01:06:01 +00:00
db diff fix
This commit is contained in:
@@ -188,8 +188,8 @@ const filterLocal = [
|
|||||||
// filter local testing
|
// filter local testing
|
||||||
'-MySQL',
|
'-MySQL',
|
||||||
'-MariaDB',
|
'-MariaDB',
|
||||||
'-PostgreSQL',
|
'PostgreSQL',
|
||||||
'SQL Server',
|
'-SQL Server',
|
||||||
'-SQLite',
|
'-SQLite',
|
||||||
'-CockroachDB',
|
'-CockroachDB',
|
||||||
'-ClickHouse',
|
'-ClickHouse',
|
||||||
|
|||||||
@@ -358,6 +358,7 @@ function testEqualColumnRefs(a: ColumnReference[], b: ColumnReference[], opts: D
|
|||||||
if (!testEqualNames(a[i].columnName, b[i].columnName, opts)) return false;
|
if (!testEqualNames(a[i].columnName, b[i].columnName, opts)) return false;
|
||||||
if (!testEqualNames(a[i].refColumnName, b[i].refColumnName, opts)) return false;
|
if (!testEqualNames(a[i].refColumnName, b[i].refColumnName, opts)) return false;
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function testEqualPrimaryKeys(a: PrimaryKeyInfo, b: PrimaryKeyInfo, opts: DbDiffOptions) {
|
function testEqualPrimaryKeys(a: PrimaryKeyInfo, b: PrimaryKeyInfo, opts: DbDiffOptions) {
|
||||||
|
|||||||
Reference in New Issue
Block a user