gitlab-org--gitlab-foss/db/migrate/20190408163745_prometheus_knative05_fix.rb
Ryan Cobb 36f39eb318 Remove CommonMetricsImporter patch
Remove CommonMetricsImporter patch and change all references to
CommonMetrics::Importer. Move specs into their appropriate folders. Also
cleans up some common_metric importer namespacing.
2019-07-09 17:02:08 -06:00

18 lines
400 B
Ruby

# frozen_string_literal: true
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class PrometheusKnative05Fix < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
::Gitlab::Importers::CommonMetrics::Importer.new.execute
end
def down
# no-op
end
end