debian-mirror-gitlab/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb

12 lines
255 B
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2019-02-15 15:39:39 +05:30
class ChangeProjectIdForPrometheusMetrics < ActiveRecord::Migration[4.2]
2018-11-20 20:47:30 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
change_column_null :prometheus_metrics, :project_id, true
end
end