The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(sql-editor): error message when ai edit result doesn't change
Greg Richardson4e0d16f2c1f4
diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/studio/components/interfaces/SQLEditor/SQLEditor.tsxindex 9744280c067..247204cb911 100644--- a/studio/components/interfaces/SQLEditor/SQLEditor.tsx+++ b/studio/components/interfaces/SQLEditor/SQLEditor.tsx@@ -371,6 +371,10 @@ const SQLEditor = () => {// TODO: show errorif (formattedSql.trim() === sql.trim()) {+ ui.setNotification({+ category: 'error',+ message: 'Unable to edit SQL. Try adding more details to your prompt.',+ })return}