Commit 17a88bb6a21cc8b6125bd2e36c1f62f4bd13300e
1 parent
6e2a6d92
Exists in
master
and in
4 other branches
Fix mysql issue fix broken diff for Merge Request
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
db/migrate/20120405211750_increase_mr_text_column_size.rb
0 → 100644
| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | +class IncreaseMrTextColumnSize < ActiveRecord::Migration | |
| 2 | + def up | |
| 3 | + # MYSQL LARGETEXT for merge request | |
| 4 | + change_column :merge_requests, :st_diffs, :text, :limit => 4294967295 | |
| 5 | + change_column :merge_requests, :st_commits, :text, :limit => 4294967295 | |
| 6 | + end | |
| 7 | + | |
| 8 | + def down | |
| 9 | + end | |
| 10 | +end | ... | ... |