From 28193ed6f3d92d9ff55e8bcce3b012550e5c94b0 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 26 Sep 2024 09:41:32 +0200 Subject: [PATCH] new_table - id should be not null --- packages/web/src/tableeditor/newTable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/tableeditor/newTable.ts b/packages/web/src/tableeditor/newTable.ts index 1048abd0f..86a4309d2 100644 --- a/packages/web/src/tableeditor/newTable.ts +++ b/packages/web/src/tableeditor/newTable.ts @@ -26,7 +26,7 @@ export default function newTable(connection, database) { { columnName: 'id', dataType: 'int', - isNullable: false, + notNull: true, isPrimaryKey: true, isAutoIncrement: true, },