db diff fix

This commit is contained in:
Jan Prochazka 2024-11-06 12:01:43 +01:00
parent 89a9cc4380
commit 634fe18127
2 changed files with 3 additions and 2 deletions

View File

@ -188,8 +188,8 @@ const filterLocal = [
// filter local testing
'-MySQL',
'-MariaDB',
'-PostgreSQL',
'SQL Server',
'PostgreSQL',
'-SQL Server',
'-SQLite',
'-CockroachDB',
'-ClickHouse',

View File

@ -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].refColumnName, b[i].refColumnName, opts)) return false;
}
return true;
}
function testEqualPrimaryKeys(a: PrimaryKeyInfo, b: PrimaryKeyInfo, opts: DbDiffOptions) {