Database Migrations

•
6
•

Implements safe, zero-downtime database schema changes and data migrations across multiple ORMs and SQL dialects.

This skill provides comprehensive guidance and implementation patterns for database migrations, focusing on safety and production reliability. It helps users navigate complex schema changes like adding non-blocking indexes, renaming columns via the expand-contract pattern, and managing large-scale data backfills without locking tables. With built-in support for popular tools like Prisma, Drizzle, Kysely, Django, and golang-migrate, it ensures migrations are immutable, reversible, and optimized for high-traffic PostgreSQL and MySQL environments.

주요 기능

016 GitHub stars
02Zero-downtime deployment strategies using the Expand-Contract pattern
03Non-blocking index creation and safe column alteration techniques
04Large-scale data migration batching to prevent table locks
05Multi-ORM support including Prisma, Drizzle, Kysely, and Django
06Comprehensive migration safety checklists and anti-pattern detection

사용 사례

01Setting up robust migration workflows for new TypeScript, Python, or Go projects
02Planning and executing schema changes on high-traffic production databases
03Refactoring legacy database structures without interrupting application availability