diff options
author | David Gageot <david@gageot.net> | 2012-11-07 16:27:15 +0100 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-11-07 16:27:15 +0100 |
commit | 1a1a56a5b04fdbccf30e2e2d158be6a333acfc6e (patch) | |
tree | eb9b16065d64c63a4f0677efcf95e6da86339041 /sonar-server | |
parent | ff0749110306a01e2ae4b1bcd6df07b9e4b15466 (diff) | |
download | sonarqube-1a1a56a5b04fdbccf30e2e2d158be6a333acfc6e.tar.gz sonarqube-1a1a56a5b04fdbccf30e2e2d158be6a333acfc6e.zip |
SONAR-3797 Size of the name column in the groups table is too short
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/group.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/group.rb index 8537c5d4224..7d65f60e3ba 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/group.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/group.rb @@ -23,7 +23,7 @@ class Group < ActiveRecord::Base has_many :group_roles, :dependent => :delete_all validates_presence_of :name - validates_length_of :name, :within => 1..40 + validates_length_of :name, :within => 1..255 validates_length_of :description, :within => 0..200 validates_uniqueness_of :name |