Skip to content

Commit

Permalink
fix: unable to delete enumerated type from dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
tranhoangvuit committed Dec 26, 2023
1 parent fdfdb52 commit fe96583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fe96583

Please sign in to comment.