Browse Source

.

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
688b228271
  1. 15
      scripts/level2mongo.js

15
scripts/level2mongo.js

@ -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…
Cancel
Save