From 17a88bb6a21cc8b6125bd2e36c1f62f4bd13300e Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 6 Apr 2012 00:22:48 +0300 Subject: [PATCH] Fix mysql issue fix broken diff for Merge Request --- .../20120405211750_increase_mr_text_column_size.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/migrate/20120405211750_increase_mr_text_column_size.rb 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 00000000..4fbef622 --- /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