A MongoDB driver for db-migrate, a database migration framework for Node.js. This fork (v2.0.3) updates MongoDB dependencies to support replica sets using SRV records, which is not available in the original driver. Use this driver to define and run up/down migrations against MongoDB databases, with support for connection URIs, SSL, and authentication. The package is stable but maintained as a fork; expect differences from the original driver in MongoDB driver version and feature compatibility.
npm install db-migrate-mongodb-nesto-forkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate the MongoDB driver with an SRV connection URI and run a migration.
Use SRV connection string format (mongodb+srv://) or check MongoDB server compatibility.
Replace 'db-migrate-mongodb' with 'db-migrate-mongodb-nesto-fork' in package.json.
Ensure 'db-migrate' is in your dependencies: npm install db-migrate
Double-check package name: db-migrate-mongodb-nesto-fork (not 'db-migrate-mongodb').
npm install mongodb
Use 'new MongodbDriver(options)' instead of calling MongodbDriver(options) as a function.
Update URI to 'mongodb+srv://...' format if using SRV.