diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index a957a50c5..b124c3af9 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -14,6 +14,7 @@ - fixed #11394: Map points does not show all the data that was entered - fixed #11400: Active Sessions Deletion - fixed #11399: m4a missin + - fixed #11406: AdSku table mssing karma column 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 65eec638e..ca0f0099d 100644 --- a/docs/upgrades/upgrade_7.8.11-7.8.12.pl +++ b/docs/upgrades/upgrade_7.8.11-7.8.12.pl @@ -33,6 +33,7 @@ my $session = start(); # this line required # upgrade functions go here fixWorkflowSizeLimits($session); growMapPointDataColumns($session); +addKarmaToAdSku($session); finish($session); # this line required @@ -74,6 +75,16 @@ sub growMapPointDataColumns { print "DONE!\n" unless $quiet; } +#---------------------------------------------------------------------------- +# Describe what our function does +sub addKarmaToAdSku { + my $session = shift; + print "\tAdd the Karma column to the Ad Sku table... " unless $quiet; + $session->db->write(qq|ALTER TABLE AdSku ADD COLUMN karma INTEGER|); + # and here's our code + print "DONE!\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------