diff options
author | Drew Blessing <drew.blessing@buckle.com> | 2013-06-11 21:11:05 -0500 |
---|---|---|
committer | Drew Blessing <drew.blessing@buckle.com> | 2013-06-11 21:11:05 -0500 |
commit | ca69099f2ccc1ca6e807aecb3df5dfb9fe87f121 (patch) | |
tree | 156299b96e167c5ab18f50e9851d0a8332a5661c /db/migrate | |
parent | d58aca0693d28e17633fb0d2825f1cddfd4f0748 (diff) | |
download | gitlab-ce-ca69099f2ccc1ca6e807aecb3df5dfb9fe87f121.tar.gz |
Increase snippet content column size.
This will fix issue #3904
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130611210815_increase_snippet_text_column_size.rb | 9 |
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 |