mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix problems with migrations and start firebase migration
This commit is contained in:
@@ -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
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user