diff --git a/services/migrator/job/migrations/analytics/model.go b/services/migrator/job/migrations/analytics/model.go index fd63ab6ac..fa5592259 100644 --- a/services/migrator/job/migrations/analytics/model.go +++ b/services/migrator/job/migrations/analytics/model.go @@ -6,7 +6,7 @@ import ( ) type Metric struct { - IntegrationTypes []integration.Type `json:"integrationTypeName" yaml:"IntegrationTypeName"` + IntegrationTypes []integration.Type `json:"integrationType" yaml:"integrationType"` Name string `json:"name" yaml:"name"` Query string `json:"query" yaml:"query"` Tables []string `json:"tables" yaml:"tables"` @@ -19,7 +19,7 @@ type Metric struct { type NamedQuery struct { Title string `json:"title" yaml:"Title"` Description string `json:"description" yaml:"Description"` - IntegrationTypes []integration.Type `json:"integrationTypeName" yaml:"IntegrationTypeName"` + IntegrationTypes []integration.Type `json:"integrationType" yaml:"IntegrationType"` Query shared.Query `json:"query" yaml:"Query"` Tags map[string][]string `json:"tags" yaml:"Tags"` }