fix: unable to delete enumerated type from dashboard (#20023)

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
This commit is contained in:
Austin TranandAlaister Young authored and GitHub committed 2024-01-02 18:49:16 +11:00
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
}