fix problems with migrations and start firebase migration

This commit is contained in:
Matteo Pagliazzi
2015-09-06 19:23:11 +02:00
parent 45f2b093f8
commit 4bb2c33e40
2 changed files with 7 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ dbGroups.findEach({}, {_id: 1, members: 1}, {batchSize: 500}, function(err, grou
countUsers++;
console.log('User: ', countUsers);
// TODO updating the same group many times concurrently can cause problems?
dbGroups.update({
_id: group._id
}, {