summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 14:42:35 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 14:42:35 +0300
commit518181697041c5111bb42ca2bfdc119e258d425e (patch)
treed02b7c6ff60f40fdec158b9d789e741c2c267b38 /db
parente49ec46461ef033fb54c717378628a31bd33248b (diff)
parentd938486c3607dde357bf10f2d31b204290cdfd3f (diff)
downloadgitlab-ce-518181697041c5111bb42ca2bfdc119e258d425e.tar.gz
Merge branch 'master' into 6-0-dev
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130611210815_increase_snippet_text_column_size.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130611210815_increase_snippet_text_column_size.rb b/db/migrate/20130611210815_increase_snippet_text_column_size.rb
new file mode 100644
index 00000000000..f7b4447e43e
--- /dev/null
+++ b/db/migrate/20130611210815_increase_snippet_text_column_size.rb
@@ -0,0 +1,9 @@
+class IncreaseSnippetTextColumnSize < ActiveRecord::Migration
+ def up
+ # MYSQL LARGETEXT for snippet
+ change_column :snippets, :content, :text, :limit => 4294967295
+ end
+
+ def down
+ end
+end