afloyd/mongo-migrate — pull request #13 by demetriusnunes (2014-04-08 19:21:41+00:00)
Title: Adding setDbConfig for programmatically setting the database configurati...

Adding setDbConfig for programmatically setting the database configuration without a configuration file.

This allow this use:

var migrate = require('mongo-migrate');

migrate.setDbConfig({
"host" : "localhost",
"db" : "app-db2"
});
migrate.run();