Settings name field too short for some plugins (30 characters)
|Assignee:||Eric Davis||% Done:|
settings.name field is current set to only allow 30 characters. This can cause problems with plugins since "plugin_" is appended to the plugin name by Settings and the plugin generator prefixs plugins with "redmine". That only leaves 16 characters for the plugin name. Since Redmine doesn't check that a plugin name is under 16 characters, I propose extending the field to 255.
Extend the settings.name column so it can fit longer plugin names.
#2 Updated by Eric Davis about 9 years ago
- File 20090318181151_extend_settings_name.rb added
I'm attaching the migration here for anyone on 0.8.x that is affected. Nothing special will need to be done when upgrading to 0.9.0, Redmine will skip this migration if it's already been applied.
- Backup your database, just in case
- Download the file to your
RAILS_ENV=production rake db:migrate