Files
supabase/apps/studio/data/database-indexes
oniani1andCharis Lam ebf9bc4955 fix(studio): escape SQL identifiers in index create/delete mutations (#44589)
Fixes #44587

index-delete-mutation.ts and index-create-mutation.ts construct SQL
using raw string interpolation for identifiers (schema, table, column
names) without escaping double quotes. Uses ident() from
@supabase/pg-meta/src/pg-format, same utility already used in the
database-queues mutations.

## Summary by CodeRabbit

* **Refactor**
* Improved identifier quoting/escaping for creating and dropping
database indexes to ensure consistent, safer index operations.

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2026-04-08 09:32:38 -04:00
..
2025-05-07 19:09:58 +08:00