redmine/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb
Jean-Philippe Lang 5882629e26 Raises time entries comments limit to 1024 (#19885).
git-svn-id: http://svn.redmine.org/redmine/trunk@14621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-21 21:00:06 +00:00

10 lines
251 B
Ruby

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