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

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

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

  DOWNTIME = false

  def change
    change_column_null :prometheus_metrics, :project_id, true
  end
end