This commit is contained in:
Matias Alejo Garcia 2015-04-28 14:52:26 -03:00
parent 1e0c45aefc
commit 688b228271
1 changed files with 6 additions and 9 deletions

View File

@ -16,16 +16,13 @@ mongo.connect({
},
function(err) {
if (err) throw err;
mongo.db.dropDatabase(function(err) {
run(function(err) {
if (err) throw err;
run(function(err) {
if (err) throw err;
console.log('All data successfully migrated');
process.exit(0);
// mongo._dump(function() {
// process.exit(0);
// });
});
console.log('All data successfully migrated');
process.exit(0);
// mongo._dump(function() {
// process.exit(0);
// });
});
});