You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20140228130325_change_changesets_comments_limit.rb 256B

123456789101112
  1. class ChangeChangesetsCommentsLimit < ActiveRecord::Migration[4.2]
  2. def up
  3. if Redmine::Database.mysql?
  4. max_size = 16.megabytes
  5. change_column :changesets, :comments, :text, :limit => max_size
  6. end
  7. end
  8. def down
  9. # no-op
  10. end
  11. end