Commit b9addefd authored by Kamil Trzciński's avatar Kamil Trzciński Committed by Thiago Presa

Merge branch 'bvl-move-import-common-metrics-migration' into 'master'

Reset column information before running CommonMetricsImporter

Closes #51305

See merge request gitlab-org/gitlab-ce!21647
parent 162c1f6c
......@@ -40,6 +40,8 @@ module Importers
end
def execute
PrometheusMetric.reset_column_information
process_content do |id, attributes|
find_or_build_metric!(id)
.update!(**attributes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment