Fix a missing database column in the AdSku. Fixes bug #11406.
This commit is contained in:
parent
56223cc3c1
commit
6d00e46510
2 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue