Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

When creating a table, created_at should not be a nullable since it defaults to now() function.

Ivan Vasilovbe716807928a
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
index d0dac2adb38..7b924cffdbe 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
@@ -24,7 +24,7 @@ export const DEFAULT_COLUMNS: ColumnField[] = [
defaultValue: 'now()',
check: null,
foreignKey: undefined,
- isNullable: true,
+ isNullable: false,
isUnique: false,
isArray: false,
isPrimaryKey: false,