diff --git a/integration-tests/__tests__/alter-table.spec.js b/integration-tests/__tests__/alter-table.spec.js index 52b8957b..55e544fc 100644 --- a/integration-tests/__tests__/alter-table.spec.js +++ b/integration-tests/__tests__/alter-table.spec.js @@ -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)), }; }