Closed demetriusnunes closed 10 years ago
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();
Adding setDbConfig for programmatically setting the database configuration without a configuration file.
This allow this use: