Added missing indices

This commit is contained in:
Thaum Rystra
2017-09-24 04:02:15 +02:00
parent 614284c73d
commit 750022f0f1
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
var childSchema = new SimpleSchema({
parent: {type: Object},
"parent.collection": {type: String},
"parent.id": {type: String, regEx: SimpleSchema.RegEx.Id},
"parent.id": {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
"parent.group": {type: String, optional: true},
"removedWith": {
optional: true,