Increase maximum size for role name (#27625).

Patch by Aleksandar Pavic.

git-svn-id: http://svn.redmine.org/redmine/trunk@18296 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2019-06-20 13:59:16 +00:00
parent 54acf556ab
commit 3ddab944d5
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
class ChangeRolesNameLimit < ActiveRecord::Migration[5.2]
def self.up
change_column :roles, :name, :string, :limit => 255, :default => ''
end
def self.down
change_column :roles, :name, :string, :limit => 30, :default => ''
end
end