Share

Query to find tables without RLS in Supabase

Open · 7 views · asked by olu_backend · edited

Run this in the SQL editor after every Lovable or Bolt session. Empty result = good.

Snippet
Copied 13 times
select schemaname, tablename
from pg_tables
where schemaname = 'public'
  and rowsecurity = false
order by tablename;
Comment

Activity