Commit e39e8f8f authored by Kamil Trzciński's avatar Kamil Trzciński

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
parents 2054199b d5212033
......@@ -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