mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 01:03:58 +00:00
test fix
This commit is contained in:
@@ -12,7 +12,10 @@ function pickImportantTableInfo(engine, table) {
|
|||||||
if (!engine.skipAutoIncrement) props.push('autoIncrement');
|
if (!engine.skipAutoIncrement) props.push('autoIncrement');
|
||||||
return {
|
return {
|
||||||
pureName: table.pureName,
|
pureName: table.pureName,
|
||||||
columns: table.columns.filter(x => x.columnName != 'rowid').map(fp.pick(props)),
|
columns: table.columns
|
||||||
|
.filter(x => x.columnName != 'rowid')
|
||||||
|
.map(fp.pick(props))
|
||||||
|
.map(props => _.omitBy(props, x => x == null)),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user