Skip to content

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

fix type errors

Alaister Young1447b01c1096
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
index 7a5a4fc9b47..d0dac2adb38 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts
@@ -7,6 +7,7 @@ export const DEFAULT_COLUMNS: ColumnField[] = [
name: 'id',
format: 'int8',
defaultValue: null,
+ check: null,
foreignKey: undefined,
isNullable: false,
isUnique: false,
@@ -21,6 +22,7 @@ export const DEFAULT_COLUMNS: ColumnField[] = [
name: 'created_at',
format: 'timestamptz',
defaultValue: 'now()',
+ check: null,
foreignKey: undefined,
isNullable: true,
isUnique: false,