diff --git a/lib/tasks/migrate/add_limits_mysql.rake b/lib/tasks/migrate/add_limits_mysql.rake index 7dadfe6164d..163d6377cfb 100644 --- a/lib/tasks/migrate/add_limits_mysql.rake +++ b/lib/tasks/migrate/add_limits_mysql.rake @@ -6,8 +6,8 @@ end class LimitsToMysql < ActiveRecord::Migration def up - change_column :merge_request_diffs, :st_commits, :text, limit: 65535 - change_column :merge_request_diffs, :st_diffs, :text, limit: 65535 - change_column :snippets, :content, :text, limit: 65535 + change_column :merge_request_diffs, :st_commits, :text, limit: 2147483647 + change_column :merge_request_diffs, :st_diffs, :text, limit: 2147483647 + change_column :snippets, :content, :text, limit: 2147483647 end end