summaryrefslogtreecommitdiff
path: root/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb
blob: 66820f13f5445465bf87c3a242e1493468eb65da (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class ChangeProjectIdForPrometheusMetrics < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

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