Updated mongo.EnsureIndexes

This commit is contained in:
Trial97
2019-03-07 13:33:08 +02:00
committed by Dan Christian Bogos
parent 8022b4c99e
commit 1d6f669c52

View File

@@ -253,7 +253,7 @@ func (ms *MongoStorage) EnsureIndexes() (err error) {
}
}
for _, col := range []string{colRsP, colRes, colSqs, colSqp,
colTps, colThs, colSpp, colAttr, colFlt, colCpp} {
colTps, colThs, colSpp, colAttr, colFlt, colCpp, colDpp} {
if err = ms.EnusureIndex(col, true, "tenant", "id"); err != nil {
return
}