From f9c4bb56388daf0747b8b90a28e0f97acfbb92f8 Mon Sep 17 00:00:00 2001 From: Jeroen van Baarsen Date: Wed, 12 Mar 2014 08:13:27 +0100 Subject: Changed limits to a higher order --- lib/tasks/migrate/add_limits_mysql.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tasks') 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 -- cgit v1.2.1