File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 44BEGIN ;
55
66ALTER TABLE public .listened ENABLE ROW LEVEL SECURITY;
7- CREATE POLICY " Allow unauthenticated access"
7+ DROP POLICY IF EXISTS " Allow unauthenticated access" ON public .listened ;
8+ CREATE POLICY " select_public"
89 ON public .listened
910 FOR SELECT
1011 USING (true);
1112
1213ALTER TABLE public .hooman ENABLE ROW LEVEL SECURITY;
13- CREATE POLICY " Allow public read access" ON public .hooman
14+ DROP POLICY IF EXISTS " Allow unauthenticated access" ON public .hooman ;
15+ CREATE POLICY " select_public" ON public .hooman
1416 FOR SELECT
1517 USING (true);
1618
1719ALTER TABLE public .hooman_artist ENABLE ROW LEVEL SECURITY;
20+ DROP POLICY IF EXISTS " select_public" ON public .hooman_artist ;
1821CREATE POLICY select_public ON public .hooman_artist
1922 FOR SELECT
2023 USING (true);
2124
2225ALTER TABLE public .artist ENABLE ROW LEVEL SECURITY;
23- CREATE POLICY select_artist ON public .artist
26+ DROP POLICY IF EXISTS " select_public" ON public .artist ;
27+ CREATE POLICY select_public ON public .artist
2428 FOR SELECT
2529 USING (true);
2630
You can’t perform that action at this time.
0 commit comments