diff --git a/packages/core/database/lib/schema/builder.js b/packages/core/database/lib/schema/builder.js index 6dd78ce4fe..83fa028fc4 100644 --- a/packages/core/database/lib/schema/builder.js +++ b/packages/core/database/lib/schema/builder.js @@ -316,7 +316,7 @@ const createHelpers = (db) => { debug(`Creating column ${addedColumn.name}`); if (addedColumn.type === 'increments' && !db.dialect.canAddIncrements()) { - tableBuilder.integer(addedColumn.name).unsigned().notNullable(); + tableBuilder.integer(addedColumn.name).unsigned(); tableBuilder.primary(addedColumn.name); } else { createColumn(tableBuilder, addedColumn);