MigrationJS

JSON →
library 0.4.12 ·javascript
verified Jun 7, 2026

A Node.js database migration system that allows creating and running migrations with up/down functions. Currently at version 0.4.12, it provides a CLI for generating migration files, migrating, and rolling back. Key differentiators include a schema builder with Blueprint for table operations (create, alter, drop), TypeScript support, and a simple batch-based migration tracking system. It supports MySQL, PostgreSQL, and SQLite. The package is minimal and lightweight but lacks features like seeding or advanced error handling.