mongoose-migrate-2

JSON →
library 0.2.5 ·javascript deprecated
verified Jun 5, 2026

A migration framework for MongoDB using Mongoose, forked from madhums/mongoose-migrate with two improvements: eliminates the need to configure Mongoose schema/model name (model is auto-named 'Migration'), and config file is a Node module supporting environment variables. Version 0.2.5 is the latest stable release, designed for Node >= 0.8.x. It stores migration state in MongoDB, tracks executed migrations, and supports up/down commands. Key differentiators: simpler configuration, no hard-coded JSON config.