redmine/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb

10 lines
251 B
Ruby
Raw Normal View History

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