Database Migration Expert
Guides the implementation of safe, zero-downtime database schema changes and data migrations across multiple ORMs and platforms.
This skill provides a comprehensive framework for managing database evolutions without risking production stability. It offers domain-specific guidance for PostgreSQL and MySQL, alongside implementation patterns for popular tools like Prisma, Drizzle, Django, and golang-migrate. By enforcing principles such as the 'expand-contract' pattern and concurrent indexing, it helps developers avoid table locks, manage large-scale data backfills, and ensure all changes are reversible and documented.
主要功能
01Standardized migration safety checklists and anti-pattern detection
02Batch processing techniques for high-volume data backfills
03Zero-downtime deployment strategies using expand-contract patterns
0412 GitHub stars
05Support for major ORMs including Prisma, Drizzle, and Django
06PostgreSQL-specific optimizations for concurrent indexing and safe column updates
使用场景
01Executing schema updates on production databases with millions of rows
02Refactoring legacy database columns without taking services offline
03Establishing best-practice migration workflows for new software projects