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: d5f33a293cceb142c94335cddf8b61d33b9fd1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddIdentifierToPrometheusMetric < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :prometheus_metrics, :identifier, :string, unique: true
  end
end