Skip to content

Commit 735f14f

Browse files
committed
apply owner view invoker migration
1 parent 734ec49 commit 735f14f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Supabase preview branches do not replay edits to already-applied migration
2+
-- files, so keep the owner-view hardening as a follow-up migration too.
3+
alter view public.profiles_owner_data set (security_invoker = on);
4+
alter view public.listings_owner_data set (security_invoker = on);

0 commit comments

Comments
 (0)