debian-mirror-gitlab/db/migrate/20190326164045_import_common_metrics_knative.rb
2019-09-30 21:07:59 +05:30

15 lines
279 B
Ruby

# frozen_string_literal: true
class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
end
def down
# no-op
end
end