df8a56e630
In order to avoid confusion between Gitlab::Importers module and other like named modules, this renamed it to Gitlab::DatabaseImporters.
15 lines
272 B
Ruby
15 lines
272 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ImportCommonMetrics < ActiveRecord::Migration[4.2]
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
def up
|
|
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
|
|
end
|
|
|
|
def down
|
|
# no-op
|
|
end
|
|
end
|