Database Designer
Analyzes relational schemas for normalization gaps, optimizes query indexes, and generates safe forward and rollback migrations.
Database Designer provides automated schema analysis, index tuning, and migration generation for PostgreSQL and MySQL databases. It inspects DDL and JSON schemas to flag normalization issues (1NF through BCNF), missing foreign keys, and constraint gaps while generating Mermaid entity-relationship diagrams. By evaluating schemas against real-world query workloads, the skill suggests high-impact composite and covering indexes while identifying redundant index bloat. It also constructs reversible forward and rollback migration plans, including zero-downtime expand-contract strategies for large or high-traffic production tables.