hapi-mongo-migration
Hapi migration plugin for mongoDB. Use the mongodb-migrations module : https://github.com/emirotin/mongodb-migrations
Install
npm install --save hapi-mongo-migration
Usage
Optiens are the same as mongodb-migrations module.
server;
Migration scripts
Simple example
'use strict'; exportsid = 'create-toby'; exports { let coll = thisdb; coll;}; exports { let coll = thisdb; coll;};
Parallel inserts
'use strict'; const async = ; exportsid = 'error'; exports { let coll = thisdb; async;}; exports { let coll = thisdb; async;};