12 lines
243 B
Ruby
12 lines
243 B
Ruby
class PrometheusMetricsLimitsToMysql < ActiveRecord::Migration
|
|
DOWNTIME = false
|
|
|
|
def up
|
|
return unless Gitlab::Database.mysql?
|
|
|
|
change_column :prometheus_metrics, :query, :text, limit: 4096, default: nil
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|