gitlab-org--gitlab-foss/db/post_migrate/20200511145545_change_varia...

16 lines
409 B
Ruby

# frozen_string_literal: true
class ChangeVariableInterpolationFormatInCommonMetrics < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
end
def down
# no-op
# The import cannot be reversed since we do not know the state that the
# common metrics in the PrometheusMetric table were in before the import.
end
end