Flux Database Migrations
Generates zero-downtime SQL migrations with forward scripts, rollbacks, and structured deployment plans.
Flux acts as an automated data engineer for Claude Code, specializing in the creation of production-safe database migrations. It automatically detects your project's ORM or migration framework—such as Prisma, Drizzle, or Alembic—and generates executable SQL for complex schema changes. By classifying operations into safe or risky categories, Flux guides you through 'expand and contract' strategies for high-traffic tables, ensuring data integrity with step-by-step deployment sequences, concurrency-aware indexing, and verified rollback scripts.
主な機能
01Multi-step 'expand and contract' strategy for risky schema modifications
02Complete executable forward and rollback SQL generation with zero placeholders
03Concurrent index creation to prevent table locking on production databases
042,369 GitHub stars
05Automatic stack detection for popular ORMs like Prisma, Drizzle, Alembic, and Knex
06Structured deployment plans with checklists, risk levels, and execution sequences
ユースケース
01Renaming columns in high-traffic production tables without application downtime
02Safely adding NOT NULL constraints to existing columns using a multi-phase approach
03Generating standardized migration files and rollbacks for new feature development