Skip to content

Commit

Permalink
feat: add supabase migration
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwebsdev committed Nov 10, 2024
1 parent 2fc205a commit 9d68184
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
alter table "public"."help_requests" add column "crm_status" text;

create policy "Mod update"
on "public"."help_requests"
as permissive
for update
to authenticated
using ((EXISTS ( SELECT 1
FROM user_roles
WHERE ((user_roles.user_id = auth.uid()) AND (user_roles.role = 'moderator'::roles)))));



0 comments on commit 9d68184

Please sign in to comment.