DEV CommunityOptimize Supabase RLS policies with one simple query trickDiscover why wrapping `auth.uid()` in a subquery can slash Postgres row checks in Supabase RLS policies, and how one team fixed 76 misconfigured policies in a single migration.May 21, 2026