Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200408110856_add_nginx_five_hundred_percentage_metric.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a99e0291fe86c20c90a90ca9695908fab166fba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddNginxFiveHundredPercentageMetric < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
  end

  def down
    # no-op
  end
end