]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3797 Size of the name column in the groups table is too short
authorDavid Gageot <david@gageot.net>
Wed, 7 Nov 2012 15:27:15 +0000 (16:27 +0100)
committerDavid Gageot <david@gageot.net>
Wed, 7 Nov 2012 15:27:15 +0000 (16:27 +0100)
sonar-server/src/main/webapp/WEB-INF/app/models/group.rb

index 8537c5d4224271ceac699a710cde50ffe4e31e90..7d65f60e3ba589ea525e61ddd1e79a4b8e8e2582 100644 (file)
@@ -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