9 lines
253 B
Ruby
9 lines
253 B
Ruby
|
class AddNotNullConstraintsToPrometheusMetricsYLabelAndUnit < ActiveRecord::Migration[5.2]
|
||
|
DOWNTIME = false
|
||
|
|
||
|
def change
|
||
|
change_column_null(:prometheus_metrics, :y_label, false)
|
||
|
change_column_null(:prometheus_metrics, :unit, false)
|
||
|
end
|
||
|
end
|