summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-12 08:13:27 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-12 08:13:27 +0100
commitf9c4bb56388daf0747b8b90a28e0f97acfbb92f8 (patch)
treea5c6b9983e306c9bce73217abb2a0b4db47a1d25 /lib/tasks
parent71b1030bf7cb85e5fc9efb40951e9613dbbc5ada (diff)
downloadgitlab-ce-f9c4bb56388daf0747b8b90a28e0f97acfbb92f8.tar.gz
Changed limits to a higher order
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/migrate/add_limits_mysql.rake6
1 files changed, 3 insertions, 3 deletions
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