This skill provides comprehensive best practices and implementation patterns for executing database migrations without service interruptions. It guides developers through critical strategies like the expand-contract pattern, concurrent indexing for PostgreSQL, and batch-processing for large-scale data backfills. By integrating specific workflows for popular tools such as Prisma, Drizzle, and Django, it ensures that database changes are reversible, documented, and performance-tested to prevent production locks and data loss.
主要功能
01Zero-downtime 'expand-contract' migration patterns
0227 GitHub stars
03ORM-specific workflows for Prisma, Drizzle, and Django
04Batch-based data backfilling techniques for large datasets
05Safe concurrent indexing and non-blocking column modification strategies
06Comprehensive migration safety checklists and anti-pattern prevention
使用场景
01Setting up robust migration workflows and rollbacks for new projects using modern ORMs
02Implementing large-scale data transformations using batch processing to avoid table locks
03Planning non-breaking schema changes for high-traffic production databases