mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated mongo.EnsureIndexes
This commit is contained in:
committed by
Dan Christian Bogos
parent
8022b4c99e
commit
1d6f669c52
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user