Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
12
db/migrate/20161010081301_change_issues_description_limit.rb
Normal file
12
db/migrate/20161010081301_change_issues_description_limit.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
class ChangeIssuesDescriptionLimit < ActiveRecord::Migration
|
||||
def up
|
||||
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
|
||||
max_size = 16.megabytes
|
||||
change_column :issues, :description, :text, :limit => max_size
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
# no-op
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue