added Subscribable AssetAspect to Wiki

This commit is contained in:
Doug Bell 2009-09-09 17:24:00 -05:00
parent b838102df5
commit 0697673846
15 changed files with 936 additions and 56 deletions

View file

@ -25,6 +25,7 @@
- fixed #10925: Wrong message in i18n
- relabel Help in the Admin Console to Template Help
- fixed #10928: EMS Print Ticket -- Time not processed for timezone
- added Subscribable AssetAspect to Wiki
7.7.19
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread

Binary file not shown.

View file

@ -33,6 +33,7 @@ my $session = start(); # this line required
# upgrade functions go here
reorganizeAdSpaceProperties($session);
fixTemplateSettingsFromShunt($session);
addSubscribableAspect( $session );
finish($session); # this line required
@ -46,6 +47,26 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
#----------------------------------------------------------------------------
# Add tables for the subscribable aspect
sub addSubscribableAspect {
my $session = shift;
print "\tAdding Subscribable aspect..." unless $quiet;
$session->db->write( <<'ESQL' );
CREATE TABLE assetAspect_Subscribable (
assetId CHAR(22) BINARY NOT NULL,
revisionDate BIGINT NOT NULL,
subscriptionGroupId CHAR(22) BINARY,
subscriptionTemplateId CHAR(22) BINARY,
skipNotification INT,
PRIMARY KEY ( assetId, revisionDate )
)
ESQL
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
sub reorganizeAdSpaceProperties {