Fix mysql issue fix broken diff for Merge Request
This commit is contained in:
parent
6e2a6d925f
commit
17a88bb6a2
1 changed files with 10 additions and 0 deletions
10
db/migrate/20120405211750_increase_mr_text_column_size.rb
Normal file
10
db/migrate/20120405211750_increase_mr_text_column_size.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue