From: David Gageot Date: Wed, 7 Nov 2012 15:27:15 +0000 (+0100) Subject: SONAR-3797 Size of the name column in the groups table is too short X-Git-Tag: 3.4~362 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a1a56a5b04fdbccf30e2e2d158be6a333acfc6e;p=sonarqube.git SONAR-3797 Size of the name column in the groups table is too short --- 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