← Back to Browse
Code Generation

MigrateBot

AI-powered database migration generator that reads your model changes and writes safe migrations.

★★★★★ 4.5 178 reviews
6.1k installs
v2.2.0 MIT

Install

npx skilldock install migrate-bot

About

MigrateBot watches your data model definitions and automatically generates migration files when schemas change. It handles column additions, renames, type changes, and index creation with zero-downtime strategies. Supports rollback generation and migration squashing.

Usage Example

# Detect model changes and generate migration
npx migrate-bot diff

# Apply pending migrations
npx migrate-bot up

# Generate rollback
npx migrate-bot rollback --steps 1