flux-migrate

Generate reversible zero-downtime migration plans for ORM tools.

69|8|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/tonone-ai/tonone --skill flux-migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flux-migrate
Source: https://github.com/tonone-ai/tonone/tree/main/team/flux/skills/flux-migrate
Command: npx skills add https://github.com/tonone-ai/tonone --skill flux-migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Evolve database schemas with zero-downtime migrations that are reversible and safe for concurrent reads.

Core Features & Use Cases

  • Generate up and down migrations for common ORM tools
  • Provide safe, multi-step migration plans with rollback at each step
  • Use with production deployments to minimize downtime and risk during schema changes

Quick Start

Run the migration planner to generate a reversible zero-downtime migration plan for your current database.

Frequently Asked Questions about flux-migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform zero-downtime database migrations in production?

Zero-downtime database migrations require generating reversible up and down migration steps that remain safe for concurrent reads. This approach provides multi-step migration plans with rollback capabilities at each phase to minimize deployment risk.

Can I use this migration planner with Prisma, Alembic, Drizzle, and Knex?

Yes, the migration planner supports common ORM tools including Prisma, Alembic, Drizzle, and Knex. It generates up and down migrations tailored to your specific ORM while maintaining safe rollback procedures.

What is the best way to handle schema changes like renames and type changes safely?

Safe schema changes involve applying multi-step migration plans that handle adds, renames, and type changes explicitly. Each step includes a specific rollback plan and deployment order guidance to ensure reversibility during production schema evolution.

How do I create a rollback plan for my database schema migration?

Creating a rollback plan involves generating paired up and down migrations for every schema change. The planner ensures explicit rollback steps are included at each phase, providing a safe recovery path if deployment fails.

Does zero-downtime migration work for concurrent read operations?

Yes, zero-downtime migrations are specifically designed to be safe for concurrent reads. The generated migration plans ensure production systems can continue serving read traffic while schema evolution occurs in the background.

What should be on my pre-deploy checklist before running a database migration?

A pre-deploy checklist for database migrations should verify deployment order, confirm rollback steps are generated, and validate that up and down migrations are paired correctly to ensure safe reversible schema changes.