2018-12-18 16:14:42 +00:00
|
|
|
class ImportCommonMetricsNginxVts < ActiveRecord::Migration[5.0]
|
2018-12-17 23:48:55 +00:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2019-07-09 21:31:28 +00:00
|
|
|
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
|
2018-12-17 23:48:55 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
# no-op
|
|
|
|
end
|
|
|
|
end
|