summaryrefslogtreecommitdiff
path: root/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb
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