diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-06 00:22:48 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-06 00:22:48 +0300 |
commit | 17a88bb6a21cc8b6125bd2e36c1f62f4bd13300e (patch) | |
tree | 3ecfa219666fce8724be622dabc2738780733119 /db | |
parent | 6e2a6d925f9c5446411cb9e7d191575e44760384 (diff) | |
download | gitlab-ce-17a88bb6a21cc8b6125bd2e36c1f62f4bd13300e.tar.gz |
Fix mysql issue fix broken diff for Merge Request
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120405211750_increase_mr_text_column_size.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20120405211750_increase_mr_text_column_size.rb b/db/migrate/20120405211750_increase_mr_text_column_size.rb new file mode 100644 index 00000000000..4fbef622da4 --- /dev/null +++ b/db/migrate/20120405211750_increase_mr_text_column_size.rb @@ -0,0 +1,10 @@ +class IncreaseMrTextColumnSize < ActiveRecord::Migration + def up + # MYSQL LARGETEXT for merge request + change_column :merge_requests, :st_diffs, :text, :limit => 4294967295 + change_column :merge_requests, :st_commits, :text, :limit => 4294967295 + end + + def down + end +end |