Database Migrations
Implements safe, reversible database schema changes and zero-downtime deployment patterns across major SQL engines and ORMs.
This skill empowers Claude to architect and execute professional-grade database migrations with a focus on production safety and data integrity. It provides standardized patterns for adding columns, creating non-blocking indexes, and performing large-scale data backfills across PostgreSQL, MySQL, and popular frameworks like Prisma, Drizzle, and Django. By following the expand-contract strategy, the skill helps developers avoid common pitfalls like table locks or application crashes during schema updates, ensuring seamless transitions in high-traffic environments.
主な機能
01Framework-specific migration workflows for Prisma, Drizzle, Kysely, and Django
0212 GitHub stars
03Non-blocking PostgreSQL index creation and safe column alteration patterns
04Zero-downtime schema change patterns using expand-contract strategies
05Batched data backfill scripts for managing large production datasets
06Comprehensive migration safety checklists and rollback plan documentation
ユースケース
01Automating version-controlled migrations for new features across different ORMs
02Safely backfilling millions of rows of data using batched background processes
03Refactoring production database schemas without service interruptions