2017-06-09 11:48:25 +00:00
|
|
|
class MergeRequestDiffFileLimitsToMysql < ActiveRecord::Migration
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
|
|
|
return unless Gitlab::Database.mysql?
|
|
|
|
|
2018-06-09 18:13:50 +00:00
|
|
|
change_column :merge_request_diff_files, :diff, :text, limit: 2147483647, default: nil
|
2017-06-09 11:48:25 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
end
|
|
|
|
end
|