Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljaijai committed Dec 13, 2024
1 parent 2302bc7 commit 7673df8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ CREATE TABLE "public"."email_notification_log" (
"created_at" timestamp with time zone DEFAULT now()
);

-- Step 3: Create a policy for message_notification_queue (if needed)
CREATE POLICY IF NOT EXISTS "Enable insert for authenticated users only"
-- Step 3: Create a policy for message_notification_queue
DROP POLICY IF EXISTS "Enable insert for authenticated users only" ON "public"."message_notification_queue";

CREATE POLICY "Enable insert for authenticated users only"
ON "public"."message_notification_queue"
AS PERMISSIVE
FOR INSERT
Expand Down

0 comments on commit 7673df8

Please sign in to comment.