2019-01-03 12:48:30 +05:30
|
|
|
class PrometheusMetricsLimitsToMysql < ActiveRecord::Migration
|
2018-11-20 20:47:30 +05:30
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
|
|
|
return unless Gitlab::Database.mysql?
|
|
|
|
|
|
|
|
change_column :prometheus_metrics, :query, :text, limit: 4096, default: nil
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
end
|
|
|
|
end
|