TL;DR: In the console (lingcode.dev/backends β Database) click Advisors. It scans your backend's schema and flags security issues (a table with row-level security off, policies that exist while RLS is disabled, functions with a mutable search_path) and performance ones (no primary key, duplicate indexes, multiple permissive policies, unindexed foreign keys) β each with a fix. Re-run after changes; the green "no issues" state means the dangerous stuff is handled.
The scariest bugs in a backend aren't loud β they're the table you forgot to put row-level security on, quietly readable by anyone with the public key. Advisors is a one-click scan that surfaces exactly that class of problem (plus the slow-query kind) before a user finds it for you. Think of it as a linter for your database.
This applies to a managed backend. Advisors reads your schema (it never changes anything) and reports findings grouped by Security and Performance, ordered worst-first. It pairs with the RLS policy templates: templates help you apply safe access rules; Advisors tells you where you forgot to.
Security
ALTER TABLE β¦ ENABLE ROW LEVEL SECURITY;search_path can be hijacked. Fix: SET search_path = '' in the function.Performance
notes so each user only sees their own rows").If you read nothing else: an RLS-disabled table on a backend reachable by a public anon key is a data leak waiting to happen. Advisors flags it as an error for a reason β fix those before you ship. The managed backend gives every project RLS-capable Postgres; Advisors makes sure you actually used it.