What This Skill Does
Guides your AI coding assistant to plan and implement database schema migrations that won't take your application down. Every migration is backwards-compatible, reversible, and designed for zero-downtime deployment.
When to Use It
Activate this skill when modifying database schemas in production systems:
- Adding new columns or tables to a live database
- Renaming or removing columns without breaking running application instances
- Changing column types or constraints on tables with millions of rows
- Splitting or merging tables as your domain model evolves
- Planning a migration sequence for a major schema redesign
What Changes
Your AI assistant will:
- Break risky migrations into multiple safe, incremental steps
- Ensure every migration is backwards-compatible with the current application version
- Include a rollback strategy for every migration step
- Use expand-and-contract patterns for column renames and type changes
- Validate data integrity with checks before and after each migration