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 0000000000000000000000000000000000000000..f7b4447e43e8ba8348fcc5e6617126454bcf851c --- /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