The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: use \s instead of space character in regex
Greg Richardsona750d52e9b91
diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.constants.ts b/studio/components/interfaces/SQLEditor/SQLEditor.constants.tsindex efa7acb8ce7..4c020c819c5 100644--- a/studio/components/interfaces/SQLEditor/SQLEditor.constants.ts+++ b/studio/components/interfaces/SQLEditor/SQLEditor.constants.ts@@ -1256,4 +1256,4 @@ export const sqlAiDisclaimerComment = stripIndent`export const untitledSnippetTitle = 'Untitled query'-export const destructiveSqlRegex = [/(drop|delete|truncate) /i]+export const destructiveSqlRegex = [/(drop|delete|truncate)\s/i]