Migration with Mongo Shell
create
migrate
rollback
status
- use temporary file to store mongo shell script
- rollback the last step when migrate failed
- add env variables in configuation and change the schema structure
- use
mongo
function to execute mongo shell - replace
async
withbluebird
- support node v0.11 execSync
MIT