The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add tiny empty state in ColumnEditor for foreign key, if column has no name yet in the form
Joshen Lim5ad9cecbeaca
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsxindex 8d7fa5dd1a7..f3007939551 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx@@ -132,7 +132,9 @@ const ColumnForeignKeyAdded: FC<{<span className="text-green-900">added</span>:</span><div className="text-scale-1200 flex items-center space-x-2">- <span className="text-code max-w-xs truncate">{columnName}</span>+ <span className={`${columnName.length > 0 ? 'text-code' : ''} max-w-xs truncate`}>+ {columnName || 'This column'}+ </span><IconArrowRight size={14} strokeWidth={2} /><span className="text-code max-w-xs truncate">{foreignKey?.target_table_schema}.{foreignKey?.target_table_name}.