Skip to content

Commit

Permalink
fix: Remove RLS for view
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 12, 2023
1 parent ca811a6 commit 0c16b28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions supabase/migrations/20231212094633_performance.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
This view can be used to retrieve information about users, their subscriptions, and the number of calls they have made.
*/
DROP VIEW sub_and_calls;
CREATE VIEW sub_and_calls
WITH (security_invoker = TRUE)
AS
SELECT
u.id as user_id,
Expand Down

1 comment on commit 0c16b28

@vercel
Copy link

@vercel vercel bot commented on 0c16b28 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.