Cramer DB Schema Truth
Purpose
Keep the documented schema and the live Supabase schema in sync.
Workflow
- •Read docs first:
- •
docs/library/backend/DATABASE_SCHEMA.md - •
docs/library/backend/ENTITIES.md - •
docs/library/backend/API_REFERENCE.md
- •
- •Query the live schema via MCP
supabase. - •Compare docs vs live schema and list mismatches clearly.
- •Recommend a resolution path:
- •Update docs if the live schema is correct.
- •Update schema if docs are the source of truth.
- •Ask for confirmation before any destructive schema change.
- •Apply updates, then summarize what changed and why.
Guardrails
- •Always read docs before querying or changing schema.
- •Never apply destructive schema changes without explicit user approval.