fix: grant account upsert read columns

This commit is contained in:
Jesse_Chen
2026-07-18 22:34:58 +08:00
parent 00d8762c13
commit 3d6d498892
2 changed files with 27 additions and 0 deletions
@@ -0,0 +1,9 @@
begin;
-- Existing-row upserts must read every submitted column to resolve the result.
grant select (
district_code,
updated_at
) on table public.profiles to service_role;
commit;