What problem does it solve?
Prevents schema design mistakes, unsafe migrations, and inconsistent data models by providing clear, reviewable database schema specifications and migration guidance tailored for PostgreSQL and Supabase projects.
Core Features & Use Cases
- Entity Modeling: List all entities with columns, types, constraints, and recommended defaults.
- Relationship Design: Define foreign keys, one-to-many and many-to-many relations using junction tables.
- Performance & Safety: Recommend indexes for common queries and prescribe migration-safe, additive changes.
- Row-Level Security: Draft RLS policies to control read/write access per role or user context.
- Real-world Use Case: Add a commenting system to an existing Supabase app by designing tables, indexes, FK constraints, and RLS while avoiding destructive changes to production data.
Quick Start
Review the Supabase PostgreSQL schema, list entities and relationships, and propose additive migration changes with indexes and RLS policies.