Supabase Postgres Best Practices
Siga regras de Postgres voltadas ao Supabase: desenho de tabelas, RLS, índices e migrações seguras.
O que é
Supabase Postgres Best Practices keeps agents from inventing RLS policies that fail open, skipping indexes on filter columns, or shipping migrations that lock production tables. It is vendor guidance for real Supabase projects, not generic SQL trivia.
Prompt de exemplo
Controlar o acesso ao banco
Adicione uma tabela orders e use RLS para o usuário ver só as próprias linhas. Mostre a migração e as políticas.
Fonte: Supabase
Ler o guia de instalação