Added indices, fixed bugs

This commit is contained in:
Stefan Zermatten
2018-09-27 09:39:21 +02:00
parent cf33bfcce1
commit d82031ab0d
4 changed files with 6 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ Migrations.add({
Skills.rawCollection().insert(defaultDocs.skills, {ordered: false});
DamageMultipliers.rawCollection().insert(defaultDocs.damageMultipliers, {ordered: false});
// Remove the stats on the character document
Characters.update(charId, modifier, function(error, result){
Characters.update(charId, modifier, {validate: false}, function(error, result){
if (error) console.log(error);
});
});