mongodb-migrations
mongodb-migrations copied to clipboard
A Node.js migration framework for MongoDB
Hello, Running npm audit for _mongodb-migrations v0.85_ throws the following warning. Is there/will there be a package update? Or best way to address this? Thanks! node v12.13.0 [email protected] >npm audit...
https://github.com/emirotin/mongodb-migrations/issues/66 Changed mongo dependency to "mongodb": "^3.6.4"
A nice advantage of this is, we would then be able to get the @typings for mongodb and get intellisense for the entire mongo api.
https://github.com/decaffeinate/decaffeinate
I'm using nodejs 6.9+ and would like to use built-in `Promise` libraries instead of done callback. So, ```js module.exports = { up() { return this.db.createCollection('tasks') }, down() { return this.db.dropCollection('tasks')...
I'd love for the ability to import a config file written in es6. Anyway we can do something like: ``` ./node_modules/.bin/mm --config=./src/config/database.js --compilers js:babel-core/register ``` It would also be neat...
If anyone has come here with an issue, the owner of this repository has stopped supporting it. He doesn't seem to be accepting PRs either. Based on the good work...
I have following script in my package.json ``` "scripts": { // ... "migrate": "mm --config=config/migration.js" }, ``` Config : ``` module.exports = { url: 'mongodb://localhost/some', directory: 'migrations' } ``` After...
Where does mongodb-migrations store the tracking information to ensure whether the migration needs to run for specific database? Thank you.