From 6f1067ff9cb3bd284d6495ab0537ff090a8515fd Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Thu, 7 Aug 2008 12:16:27 +0000 Subject: [PATCH] fixed: Thingy: Subtext disappears when editing a field --- docs/upgrades/upgrade_7.5.18-7.5.19.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/upgrades/upgrade_7.5.18-7.5.19.pl b/docs/upgrades/upgrade_7.5.18-7.5.19.pl index 68340a7a2..d598cf620 100644 --- a/docs/upgrades/upgrade_7.5.18-7.5.19.pl +++ b/docs/upgrades/upgrade_7.5.18-7.5.19.pl @@ -29,6 +29,7 @@ my $quiet; # this line required my $session = start(); # this line required # upgrade functions go here +renameThingyFieldsSubtextColumn( $session ); addNewInboxIndexes( $session ); updateAddressTable( $session ); addProductShipping( $session ); @@ -46,6 +47,16 @@ finish($session); # this line required # print "DONE!\n" unless $quiet; #} +# Rename Thingy_fields subtext column +sub renameThingyFieldsSubtextColumn { + my $session = shift; + print "\tRenaming Thingy_fields subtext column... " unless $quiet; + + $session->db->write( + "alter table Thingy_fields change subText subtext varchar(255)" + ); + print "Done!\n" unless $quiet; +} #---------------------------------------------------------------------------- # Add the image density property to the Gallery sub addGalleryImageDensity {