increase size of group names

This commit is contained in:
Graham Knop 2007-08-02 21:25:21 +00:00
parent ff6ce927e4
commit c226b94ce2
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,6 @@
7.4.2
- Group names can now be 100 characters long
7.4.1
- fix: crons wouldn't load into spectre's queue at startup.
- fix: in the Collaboration System, posts from the Safari browser

View file

@ -21,6 +21,7 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
increaseGroupNameSize($session);
finish($session); # this line required
@ -121,5 +122,9 @@ sub createNewTemplatesFolder {
return $newFolder;
}
sub increaseGroupNameSize {
my $session = shift;
print "\tIncreasing size of group name field.\n" unless $quiet;
$session->db->write("alter table groups modify groupName varchar(100)");
}