gitlab-org--gitlab-foss/db/migrate/20190326164045_import_common_metrics_knative.rb
Ryan Cobb df8a56e630 Rename Gitlab::Importers module
In order to avoid confusion between Gitlab::Importers module and other
like named modules, this renamed it to Gitlab::DatabaseImporters.
2019-07-09 17:02:08 -06:00

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