Increases size of value to long text - Aleksandar Pavic, 2020-11-03 11:21
class ChangeSettingsValueLimit < ActiveRecord::Migration[5.2]
def up
if Redmine::Database.mysql?
max_size = 16.megabytes
change_column :settings, :value, :text, :limit => max_size
end
def down
# no-op