Skip to content

Commit eb56598

Browse files
committed
refactor: code cleanup
1 parent 785424b commit eb56598

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

core/models/common/index_service_v2.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ func CreateIndexesV2() {
7676
{Keys: bson.M{"name": 1}},
7777
})
7878

79-
// variables
80-
mongo.GetMongoCol(service.GetCollectionNameByInstance(models2.VariableV2{})).MustCreateIndexes([]mongo2.IndexModel{
81-
{Keys: bson.M{"key": 1}},
82-
})
83-
8479
// data sources
8580
mongo.GetMongoCol(service.GetCollectionNameByInstance(models2.DatabaseV2{})).MustCreateIndexes([]mongo2.IndexModel{
8681
{Keys: bson.M{"name": 1}},

core/models/models/v2/variable_v2.go

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)