diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index a0fa790a0..1c97537c1 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ - fixed #11393: Map template variables missing - fixed #11336: Duplicate Version Tag Created. - fixed #11398: Recent post information keeps disappearing from my forums + - fixed #11394: Map points does not show all the data that was entered 7.8.11 - fixed #11362: Unable to checkout with ITransact plugin diff --git a/docs/upgrades/upgrade_7.8.11-7.8.12.pl b/docs/upgrades/upgrade_7.8.11-7.8.12.pl index 2127112fd..65eec638e 100644 --- a/docs/upgrades/upgrade_7.8.11-7.8.12.pl +++ b/docs/upgrades/upgrade_7.8.11-7.8.12.pl @@ -32,6 +32,7 @@ my $session = start(); # this line required # upgrade functions go here fixWorkflowSizeLimits($session); +growMapPointDataColumns($session); finish($session); # this line required @@ -60,6 +61,19 @@ sub fixWorkflowSizeLimits { print "DONE!\n" unless $quiet; } +#---------------------------------------------------------------------------- +# Describe what our function does +sub growMapPointDataColumns { + my $session = shift; + print "\tIncrease the size of Map Point data columns... " unless $quiet; + foreach my $column (qw{address1 address2 city state zipCode country email}) { + $session->db->write(qq|ALTER TABLE MapPoint MODIFY $column CHAR(35)|); + } + $session->db->write(qq|ALTER TABLE MapPoint MODIFY website CHAR(255)|); + # and here's our code + print "DONE!\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------