12 lines
289 B
Ruby
12 lines
289 B
Ruby
![]() |
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
|