Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,6 +1,6 @@
|
|||
class ChangeJournalsNotesLimit < ActiveRecord::Migration
|
||||
class ChangeJournalsNotesLimit < ActiveRecord::Migration[4.2]
|
||||
def up
|
||||
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
|
||||
if Redmine::Database.mysql?
|
||||
max_size = 16.megabytes
|
||||
change_column :journals, :notes, :text, :limit => max_size
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue