Database Migrations

•
323
•

Implements safe, version-controlled database schema changes and zero-downtime deployment patterns across multiple ORMs and SQL dialects.

Database Migrations is a specialized skill designed to eliminate the risks associated with production database changes. It provides developers with proven patterns for schema evolution, including safe column additions, concurrent indexing, and the 'Expand-Shrink' strategy for complex refactors. By offering tailored guidance for popular tools like Prisma, Drizzle, Django, and golang-migrate, it ensures that every migration is immutable, reversible, and tested for production-scale data, preventing costly table locks and service outages.

Características Principales

01Multi-ORM support including Prisma, Drizzle, and Django
02Standardized checklists for migration safety and rollbacks
03Zero-downtime deployment strategies (Expand-Shrink pattern)
04323 GitHub stars
05Batch data migration logic for high-volume production tables
06Non-blocking index creation and safe schema modifications

Casos de Uso

01Standardizing migration workflows for teams using Go, Python, or TypeScript
02Adding columns or indexes to high-traffic tables without locking writes
03Refactoring database structures using a multi-phase zero-downtime approach