Skip to main content

The corpora table

Example queries

Security

  • Row-level security is enabled on the corpora table.
  • Reads are public — anyone with the anon key can query corpora.
  • Writes are auth-protected — inserting, updating, or deleting rows requires authentication.

Migrations and seeds

  • Database schema lives in ordered SQL migrations under supabase/migrations/.
  • Seed data provides 30+ pre-loaded corpora under supabase/seeds/ for local development and testing.