new_table - id should be not null

This commit is contained in:
Jan Prochazka
2024-09-26 09:41:32 +02:00
parent 0509710602
commit 28193ed6f3

View File

@@ -26,7 +26,7 @@ export default function newTable(connection, database) {
{ {
columnName: 'id', columnName: 'id',
dataType: 'int', dataType: 'int',
isNullable: false, notNull: true,
isPrimaryKey: true, isPrimaryKey: true,
isAutoIncrement: true, isAutoIncrement: true,
}, },