Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (270 Bytes)
Patch #34218
» 20201104111101_change_settings_value_limit.rb
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
end
def
down
# no-op
end
end
« Previous
1
2
Next »
(1-1/2)
Loading...