[36081] Increase max lengths of user/group names (#8948)
* Unset DB limits for user attributes * Validate groups in synchronized groups * Extend limitations and fix specspull/9048/head
parent
ef948465a1
commit
e4c9506e56
@ -0,0 +1,13 @@ |
||||
class AlterUserAttributesMaxLength < ActiveRecord::Migration[6.0] |
||||
def up |
||||
change_column :users, :firstname, :string, limit: nil |
||||
change_column :users, :lastname, :string, limit: nil |
||||
change_column :users, :mail, :string, limit: nil |
||||
end |
||||
|
||||
def down |
||||
change_column :users, :firstname, :string, limit: 30 |
||||
change_column :users, :lastname, :string, limit: 30 |
||||
change_column :users, :mail, :string, limit: 60 |
||||
end |
||||
end |
Loading…
Reference in new issue