migrate-mongoose-custom

JSON →
library 0.2.2 ·javascript
verified Jun 7, 2026

A node-based migration framework for Mongoose, forked from migrate-mongoose with updated mongoose version (4 to 5) and removal of throw error when no migrations to run. Current version 0.2.2. Stores migration state in MongoDB, supports custom config files, environment variables, and CLI commands (create, up, down, list, prune). Differentiators: global migration state (no local file state), access to mongoose models, promise/callback support, and ability to delete unused migrations. Ideal for projects already using mongoose and deploying on platforms like Heroku.