mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 20:05:06 +03:00
## Summary - fix the Studio SQL row formatter to emit raw boolean and numeric literals instead of quoted strings - serialize text array members as SQL string literals inside `ARRAY[...]` - escape fallback string formats outside `text`/`varchar`, and add regression coverage for that path Closes #44024 ## Test plan - [x] Ran a direct `tsx` smoke against `formatTableRowsToSQL()` for the `storage.buckets` case and confirmed it now emits `true`, `false`, `10485760`, and `ARRAY['image/*']` - [x] Ran focused formatter smokes for JSON escaping, text arrays, and fallback string formats like `citext` - [x] `pnpm --filter studio test -- TableEntity.utils.test.ts` Note: the targeted Vitest run is still blocked in this environment before the test executes (`localStorage.getItem is not a function`). --------- Co-authored-by: Alaister Young <alaister@users.noreply.github.com>