migration-gen

SKILL.md

Migration Generator

Your ORM schema changed and you need migration files. This tool reads your schema and generates timestamped UP and DOWN migrations.

One command. Zero config. Just works.

Quick Start

npx ai-migrate --orm prisma --name add_users

What It Does

  • Reads Prisma, Drizzle, TypeORM, or Sequelize schemas
  • Generates timestamped migration folders
  • Creates both UP and DOWN SQL
  • Includes proper guards (IF NOT EXISTS, etc.)
Installs
6
First Seen
Mar 21, 2026