Remove the skipNotification column for the Subscribably aspect.
The duplication caused it to be impossible to turn off notifications, which caused the WikiPage test to fail since there was no template defined for sending notifications.
This commit is contained in:
parent
f9d97f2ce7
commit
869ee404e7
3 changed files with 14 additions and 27 deletions
|
|
@ -31,6 +31,7 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
dropSkipNotification($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -45,6 +46,14 @@ finish($session); # this line required
|
|||
#}
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
sub dropSkipNotification {
|
||||
my $session = shift;
|
||||
print "\tRemoving duplicate skipNotification field from the Subscribable aspect... " unless $quiet;
|
||||
$session->db->write('alter table assetAspect_Subscribable drop column skipNotification');
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue