Commit f9c4bb56388daf0747b8b90a28e0f97acfbb92f8
1 parent
71b1030b
Exists in
spb-stable
and in
3 other branches
Changed limits to a higher order
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
lib/tasks/migrate/add_limits_mysql.rake
| @@ -6,8 +6,8 @@ end | @@ -6,8 +6,8 @@ end | ||
| 6 | 6 | ||
| 7 | class LimitsToMysql < ActiveRecord::Migration | 7 | class LimitsToMysql < ActiveRecord::Migration |
| 8 | def up | 8 | def up |
| 9 | - change_column :merge_request_diffs, :st_commits, :text, limit: 65535 | ||
| 10 | - change_column :merge_request_diffs, :st_diffs, :text, limit: 65535 | ||
| 11 | - change_column :snippets, :content, :text, limit: 65535 | 9 | + change_column :merge_request_diffs, :st_commits, :text, limit: 2147483647 |
| 10 | + change_column :merge_request_diffs, :st_diffs, :text, limit: 2147483647 | ||
| 11 | + change_column :snippets, :content, :text, limit: 2147483647 | ||
| 12 | end | 12 | end |
| 13 | end | 13 | end |