20180503200320_enable_prometheus_metrics_by_default.rb 294 Bytes
Newer Older
1
class EnablePrometheusMetricsByDefault < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9 10 11
  DOWNTIME = false

  def up
    change_column_default :application_settings, :prometheus_metrics_enabled, true
  end

  def down
    change_column_default :application_settings, :prometheus_metrics_enabled, false
  end
end