Forward port Thingy_fields defaultValue size fix.

This commit is contained in:
Colin Kuskie 2008-12-09 01:35:18 +00:00
parent e636e927e8
commit dcb22dfd6a
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
- fixed #9219: Thingy After Save Search This Thing not showing all rows (SDH Consulting Group)
- fixed #9231: Singleton workflows should not report an error when an attempt is made to run them again
- fixed #9244: i18n for colin
- fixed #9252: Thingy defaultValue length causes input to be truncated (SDH Consulting Group)
7.6.5
- security: A problem was discovered and fixed in which users could email executable attachments to a collaboration system and then when viewed online, could execute them.

View file

@ -29,6 +29,7 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
lengthenThingyDefaultValues($session);
finish($session); # this line required
@ -43,6 +44,16 @@ finish($session); # this line required
#}
#----------------------------------------------------------------------------
# Describe what our function does
sub lengthenThingyDefaultValues {
my $session = shift;
print "\tMake sure that Thingy fields can have a default value size appropriate to their field type... " unless $quiet;
# and here's our code
$session->db->write('alter table Thingy_fields modify defaultValue longtext');
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#----------------------------------------------------------------------------