mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix: unable to delete enumerated type from dashboard (#20023)
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
This commit is contained in:
1 parent
e9c1966ab5
commit
654e19711a
1 file changed
+1
-1
@@ -18,7 +18,7 @@ export async function deleteEnumeratedType({
|
||||
name,
|
||||
schema,
|
||||
}: EnumeratedTypeDeleteVariables) {
|
||||
const sql = `drop type if exists ${schema}.${name}`
|
||||
const sql = `drop type if exists ${schema}."${name}"`
|
||||
const { result } = await executeSql({ projectRef, connectionString, sql })
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user