debian-mirror-gitlab/db/migrate/20190408163745_prometheus_knative05_fix.rb

19 lines
408 B
Ruby
Raw Normal View History

2019-06-05 12:25:43 +05:30
# 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
2019-09-30 21:07:59 +05:30
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
2019-06-05 12:25:43 +05:30
end
def down
# no-op
end
end