fixed: Thingy: Setting the size of a field has no effect
This commit is contained in:
parent
9f69e54e77
commit
96b7047d22
3 changed files with 15 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
7.5.20
|
||||
- fixed: The indent loop of the Navigation wobject has an incorrect number of
|
||||
iterations in some cases. (Martin Kamerbeek / Oqapi)
|
||||
- fixed: Thingy: Setting the size of a field has no effect
|
||||
|
||||
7.5.19
|
||||
- fixed: paginator doesn't show correct number of page links with a limit applied
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
addThingyFieldsSizeColumn( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -42,6 +43,17 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add Thingy_fields size column
|
||||
sub addThingyFieldsSizeColumn {
|
||||
my $session = shift;
|
||||
print "\tAdding Thingy_fields size column... " unless $quiet;
|
||||
|
||||
$session->db->write(
|
||||
"alter table Thingy_fields add size int(11)"
|
||||
);
|
||||
print "Done!\n" unless $quiet;
|
||||
}
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue