fix: force columns sorting when comparing

This commit is contained in:
Nybkox
2025-02-04 00:35:49 +01:00
parent 40cfe63b6f
commit cdafe7e5f2

View File

@@ -19,6 +19,7 @@ function pickImportantTableInfo(engine, table) {
pureName: table.pureName,
columns: table.columns
.filter(x => x.columnName != 'rowid')
.sort((a, b) => a.columnName.localeCompare(b.columnName))
.map(fp.pick(props))
.map(props => _.omitBy(props, x => x == null))
.map(props =>