diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-21 21:13:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-21 21:13:06 +0000 |
commit | 7b12145ed904e531fa4e573cb5efb50abdedf6ac (patch) | |
tree | 4be4fb23985aa6371bebb3e185aa300e9915f816 /db | |
parent | 5882629e26abcc6dcf7d1f0a0e62982ea1a308ca (diff) | |
download | redmine-7b12145ed904e531fa4e573cb5efb50abdedf6ac.tar.gz redmine-7b12145ed904e531fa4e573cb5efb50abdedf6ac.zip |
Raises wiki edits comments limit to 1024 (#19886).
git-svn-id: http://svn.redmine.org/redmine/trunk@14622 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb b/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb new file mode 100644 index 000000000..5a35b03a1 --- /dev/null +++ b/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb @@ -0,0 +1,11 @@ +class ChangeWikiContentsCommentsLimitTo1024 < ActiveRecord::Migration + def self.up + change_column :wiki_content_versions, :comments, :string, :limit => 1024, :default => '' + change_column :wiki_contents, :comments, :string, :limit => 1024, :default => '' + end + + def self.down + change_column :wiki_content_versions, :comments, :string, :limit => 255, :default => '' + change_column :wiki_contents, :comments, :string, :limit => 255, :default => '' + end +end |