diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-21 21:00:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-21 21:00:06 +0000 |
commit | 5882629e26abcc6dcf7d1f0a0e62982ea1a308ca (patch) | |
tree | 20c081ea6206e7e93744c40aa9a53d15a08f486d /db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb | |
parent | a7b6ad9bb5ba4953134912c39f3de02b38c7b536 (diff) | |
download | redmine-5882629e26abcc6dcf7d1f0a0e62982ea1a308ca.tar.gz redmine-5882629e26abcc6dcf7d1f0a0e62982ea1a308ca.zip |
Raises time entries comments limit to 1024 (#19885).
git-svn-id: http://svn.redmine.org/redmine/trunk@14621 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb')
-rw-r--r-- | db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb b/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb new file mode 100644 index 000000000..8366e8f10 --- /dev/null +++ b/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb @@ -0,0 +1,9 @@ +class ChangeTimeEntriesCommentsLimitTo1024 < ActiveRecord::Migration + def self.up + change_column :time_entries, :comments, :string, :limit => 1024 + end + + def self.down + change_column :time_entries, :comments, :string, :limit => 255 + end +end |