mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Mongo ensure indexes add tenant to supported collections
This commit is contained in:
committed by
Dan Christian Bogos
parent
56cd0fd115
commit
4adcc5bb1f
@@ -167,7 +167,7 @@ func (ms *MongoStorage) EnsureIndexes() (err error) {
|
||||
Background: false,
|
||||
Sparse: false,
|
||||
}
|
||||
for _, col := range []string{colRsP, colRes} {
|
||||
for _, col := range []string{colRsP, colRes, colSqs, colSqp, colTps, colThs, colSpp, colAttr, colFlt} {
|
||||
if err = db.C(col).EnsureIndex(idx); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user