The flux-migrate skill acts as a virtual data engineer that automates the complex process of schema evolution. It intelligently detects your project's database stack (such as Prisma, Drizzle, or Alembic) and classifies requested changes by risk level. For risky operations like renames or type changes, it automatically implements the 'expand and contract' pattern across multiple deployment steps to ensure zero downtime. The skill provides not just the SQL files, but a comprehensive deployment sequence, safety checklists, and concurrency strategies to protect live production traffic.
主要功能
01Detailed deployment sequences and rollback plans
02Expand and contract migration pattern generation
03Concurrent indexing and batched backfill strategies
04Risk-based classification for schema operations
05Automatic ORM and database stack detection
0647 GitHub stars
使用场景
01Modifying large, high-traffic production tables without causing locks or downtime
02Generating multi-step migration sequences for complex schema refactoring
03Creating safe rollback scripts and deployment checklists for database changes