Skip to content

Commit 27f1e6f

Browse files
committed
fix(migration): drop policy if already exists
1 parent 29a53ec commit 27f1e6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

supabase/migrations/20240813175015_add_rls_policy_for_orders.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
drop policy if exists "Enable read access for all users" on "public"."marketplace_orders";
2+
13
alter table "public"."marketplace_orders"
24
enable row level security;
35

0 commit comments

Comments
 (0)