20180101160630_change_project_id_for_prometheus_metrics.rb 255 Bytes
Newer Older
1 2
# frozen_string_literal: true

3
class ChangeProjectIdForPrometheusMetrics < ActiveRecord::Migration[4.2]
4 5 6 7 8 9 10 11
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

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