Backend Migration Standards
Creates and manages database migrations with reversible changes, proper naming conventions, and zero-downtime deployment strategies.
Guides the creation of safe, robust, and reversible database migrations to ensure schema evolution without disrupting live applications. This skill provides standards for structuring migration files, managing schema changes like adding or removing columns, creating non-locking indexes, and handling large data transformations. It emphasizes zero-downtime deployment strategies, making it essential for any developer modifying database structures in a continuous integration and deployment environment.
Características Principales
01Separates schema changes from data migrations for clarity and safety.
02Enforces reversible migrations with mandatory, tested rollback methods.
03Defines clear naming conventions and structured organization for migration files.
04Provides zero-downtime deployment strategies for backwards-compatible schema changes.
05Mandates safe, concurrent index creation on large tables to avoid write locks.
06213 GitHub stars
Casos de Uso
01Implementing a complex data transformation script that must run in batches and be idempotent.
02Adding a new column to a high-traffic production table without causing downtime.
03Rolling back a failed database deployment safely and predictably.