Feature #19869 » 0002-Raises-issues-description-limit-to-4GB-19869.patch
| db/migrate/20160209143726_change_issues_description_limit.rb | ||
|---|---|---|
|
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
|
||
- « Previous
- 1
- 2
- Next »