2019-04-05 22:02:39 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0]
|
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2019-07-09 17:31:28 -04:00
|
|
|
::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
|
2019-04-05 22:02:39 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
# no-op
|
|
|
|
end
|
|
|
|
end
|