Skip to content
All rules

SB-NO-SCHEMA

Supabase is used, but the schema is not in the repository

Severity
Info
Confidence
High
Stack
Supabase
Runs
On by default

What the CLI looks for

The app uses Supabase, but the repository has no supabase/migrations folder or SQL schema.

Why it matters

Most Supabase issues live in tables, RLS and policies. Without the schema, neither the CLI nor a reviewer can see them.

How to fix it

Commit your migrations, or export the schema into the repository.

supabase db dump --schema-only -f supabase/schema.sql