diff --git a/supabase/migrations/20241218084542_loosen_adoptions_rls.sql b/supabase/migrations/20241218084542_loosen_adoptions_rls.sql new file mode 100644 index 00000000..f48ec309 --- /dev/null +++ b/supabase/migrations/20241218084542_loosen_adoptions_rls.sql @@ -0,0 +1,6 @@ +drop policy "Authenticated users can select their own adoptions" on "public"."trees_adopted"; + +create policy "Everyon can select all adoptions" +on trees_adopted for select +to anon +using ( true ); \ No newline at end of file