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

20180831164906_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: c9aae868e5284c49d310f1e2eb71faa2a144f3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
class ChangeProjectIdForPrometheusMetrics < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

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