This commit is contained in:
parent
1e0c45aefc
commit
688b228271
|
@ -16,16 +16,13 @@ mongo.connect({
|
||||||
},
|
},
|
||||||
function(err) {
|
function(err) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
mongo.db.dropDatabase(function(err) {
|
run(function(err) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
run(function(err) {
|
console.log('All data successfully migrated');
|
||||||
if (err) throw err;
|
process.exit(0);
|
||||||
console.log('All data successfully migrated');
|
// mongo._dump(function() {
|
||||||
process.exit(0);
|
// process.exit(0);
|
||||||
// mongo._dump(function() {
|
// });
|
||||||
// process.exit(0);
|
|
||||||
// });
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue