Read about our upcoming Code of Conduct on this issue

20180831164906_change_project_id_for_prometheus_metrics.rb 247 Bytes
Newer Older
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