diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index 7ff70380c4..a7417541a3 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -2197,7 +2197,7 @@ class BaseModelSqlv2 { // exclude auto increment columns in body for (const col of columns) { - if (col.ai === true) { + if (col.ai) { const keyName = data?.[col.column_name] !== undefined ? col.column_name : col.title;