migrate-mongo
github.com
- Free plan
- Linux
- Self-hosted
6.8 Club score Visit github.com
Plans
Every plan and pricemigrate-mongo
Free
Open source
What the maker publishes
- Customization
- Actions other than init accept options for a custom configuration file and a custom migrations directory. source
- Error behavior
- If a migration fails, migrate-mongo stops without continuing through the remaining pending migrations. source
- File hashes
- An optional file-hash setting lets changed migration files run again, provided scripts are written to be safely rerunnable. source
- Integrations
- Migration scripts can use Node.js modules and installed npm packages from the migration project's package.json. source
- License
- The repository identifies the project as MIT licensed. source
- Locking
- The configuration supports a lock collection and a lock TTL, with a TTL value of 0 disabling the feature. source
- Maintainer
- The package metadata names Sebastian Van Sande as author. source
- Migration commands
- Its CLI can initialize a project, create migrations, apply pending migrations, undo the last applied migration, and show migration status. source
- Migration tracking
- Applied changes are recorded in a configurable MongoDB changelog collection. source
- Module formats
- New projects default to CommonJS, with ECMAScript Modules also supported. source
- Purpose
- migrate-mongo is a database migration tool for MongoDB running in Node.js. source
- Requirements
- The README lists Node.js 20 or higher and MongoDB versions 4.x through 7.x as requirements. source
- Reversible migrations
- Migration scripts provide up and down functions for applying and, where possible, rolling back changes. source
- Transactions
- Migration scripts can use MongoDB's Transactions API through the supplied MongoClient, requiring MongoDB 4.0 or higher and migrate-mongo 7.0.0 or higher. source
Checked against the maker's pages on 4 Oct 2026.