Skip to content

Commit

Permalink
feat: add supabase migration
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwebsdev authored and GuillePrograma94 committed Nov 11, 2024
1 parent eee411a commit d22e97f
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 d22e97f

Please sign in to comment.