Database Migration Manager
Manages versioned database migration scripts with automated generation, execution tracking, and rollback capabilities.
The pdlc-db-migrate skill streamlines the database evolution process by linking SQL migrations directly to your design documents. It automates the creation of versioned UP and DOWN SQL scripts, maintains a comprehensive migration history, and ensures structural integrity through PDLC guardrails. By providing commands for status tracking and incremental diffs, it transforms manual database changes into a disciplined, reversible workflow that works seamlessly for both monolithic and microservice architectures.
Key Features
01Versioned migration tracking with a standardized history file
027 GitHub stars
03Incremental migration generation via schema diffing
04Automated UP/DOWN SQL script generation based on design docs
05PDLC guardrails ensuring migrations are always backed by design documentation
06Support for both monolithic and microservice project structures
Use Cases
01Auditing and tracking migration status across team environments using shared history files
02Managing incremental schema changes and rollbacks during active feature development
03Generating initial table schemas and DDL from fresh design specifications