Skip to content

Commit

Permalink
refactor: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Oct 16, 2024
1 parent 785424b commit eb56598
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions core/models/common/index_service_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ func CreateIndexesV2() {
{Keys: bson.M{"name": 1}},
})

// variables
mongo.GetMongoCol(service.GetCollectionNameByInstance(models2.VariableV2{})).MustCreateIndexes([]mongo2.IndexModel{
{Keys: bson.M{"key": 1}},
})

// data sources
mongo.GetMongoCol(service.GetCollectionNameByInstance(models2.DatabaseV2{})).MustCreateIndexes([]mongo2.IndexModel{
{Keys: bson.M{"name": 1}},
Expand Down
9 changes: 0 additions & 9 deletions core/models/models/v2/variable_v2.go

This file was deleted.

0 comments on commit eb56598

Please sign in to comment.