Skip to content

Commit

Permalink
fix: supabase update
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwebsdev committed Nov 8, 2024
1 parent eeb8472 commit c92b62a
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
alter policy "Enable update for users based on email"
on "public"."help_requests"
alter policy "Enable_update_for_users_based_on_email"
on public.help_requests
to public
using (
((auth.uid() IS NOT NULL) AND ((additional_info ->> 'email'::text) = auth.email()))
with check (
((auth.uid() IS NOT NULL) AND ((additional_info ->> 'email'::text) = auth.email()))
);
)

0 comments on commit c92b62a

Please sign in to comment.