mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
columns compare
This commit is contained in:
@@ -55,8 +55,8 @@ export function computeTableDiffColumns(
|
||||
opts: DbDiffOptions,
|
||||
driver: EngineDriver
|
||||
) {
|
||||
if (!sourceTable || !sourceTable || !driver) return [];
|
||||
return computeDiffRowsCore(sourceTable.columns, targetTable.columns, (a, b) =>
|
||||
if (!driver) return [];
|
||||
return computeDiffRowsCore(sourceTable?.columns || [], targetTable?.columns || [], (a, b) =>
|
||||
testEqualColumns(a, b, true, true, opts)
|
||||
).map(row => ({
|
||||
...row,
|
||||
|
||||
Reference in New Issue
Block a user