Skip to content

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

Add helper text communicating about changingnon native psql data types via studio editor

Joshen Limeb171d20431b
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
index 70b2bd20016..e907bf7d18e 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
@@ -63,6 +63,11 @@ const ColumnType: FC<Props> = ({
className={`${className} ${disabled ? 'column-type-disabled' : ''} rounded-md`}
onChange={(value: string) => onOptionSelect(value)}
optionsWidth={480}
+ descriptionText={
+ !isNativeDataType
+ ? 'Custom non-native psql data types cannot currently be changed to a different data type via Supabase Studio'
+ : ''
+ }
>
<Listbox.Option key="empty" value="" label="---">
---