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

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

class AddIdentifierToPrometheusMetric < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :prometheus_metrics, :identifier, :string # rubocop:disable Migration/AddLimitToStringColumns
  end
end