Reset column information in CommonMetricsImporter
This makes sure that newly created columns would be available when migrating in one go.
This commit is contained in:
parent
4a5f4c657d
commit
d5212033cf
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue