blob: bab3b1787135bcd56482c05bd10b6665c12150b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class EnablePrometheusMetricsByDefault < ActiveRecord::Migration[4.2]
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
|