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