Database Migrations
Guides safe database schema changes, data migrations, and zero-downtime deployments across major SQL engines and ORMs.
This skill provides specialized guidance for planning and implementing database migrations without service interruptions or data loss. It encompasses best practices for PostgreSQL and MySQL alongside specific workflows for popular tools like Prisma, Drizzle, Django, and golang-migrate. By enforcing an expand-contract pattern and comprehensive safety checklists, it helps developers avoid dangerous table locks, manage large-scale data backfills, and ensure all schema changes remain reversible and production-ready.
Características Principales
01ORM-specific workflows for Prisma, Drizzle, Django, and golang-migrate
025 GitHub stars
03Pre-deployment safety checklists to prevent production table locks
04Safe PostgreSQL patterns for concurrent indexing and non-blocking updates
05Zero-downtime migration strategies using the Expand-Contract pattern
06Batch-processing templates for large-scale data migrations and backfills
Casos de Uso
01Executing large-scale data transformations without locking active tables
02Setting up migration pipelines and tooling for new web applications
03Planning complex schema refactors on high-traffic production databases