Database Migration Patterns
Implements safe, reversible, and non-blocking database schema changes following industry best practices for production environments.
The Migration Patterns skill equips Claude with a robust framework for managing complex database schema evolutions without risking data integrity or system uptime. It provides standardized templates for Prisma and raw SQL migrations, emphasizing atomicity, reversibility, and non-blocking operations. Whether handling large-scale table refactors, implementing zero-downtime column renames, or managing batched data backfills, this skill ensures that database changes are tested, versioned, and deployable with high confidence across various SQL environments.
主な機能
01Comprehensive deployment checklists for testing migrations against production-like data.
02Non-blocking schema evolution techniques including concurrent indexing and online schema changes.
036 GitHub stars
04Batched data migration scripts for processing large datasets without performance degradation.
05Standardized workflows for Prisma migrations including dev, deploy, and reset cycles.
06Reversible migration patterns with explicit rollback strategies for every change.
ユースケース
01Safely adding NOT NULL constraints to existing columns through multi-step backfill processes.
02Executing zero-downtime column renames by maintaining dual-write compatibility during deployments.
03Optimizing large production tables using concurrent index creation to avoid table locking.