Commit d5212033 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Reset column information in CommonMetricsImporter

This makes sure that newly created columns would be available when
migrating in one go.
parent 4a5f4c65
......@@ -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