mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 04:00:59 +00:00
test fix
This commit is contained in:
parent
a674b9b3a1
commit
4dcf47b81f
@ -12,7 +12,10 @@ function pickImportantTableInfo(engine, table) {
|
||||
if (!engine.skipAutoIncrement) props.push('autoIncrement');
|
||||
return {
|
||||
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)),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user