Add template field to StoryTopic. The same template will be shared between both modes.

Add top story variables, and tests.
This commit is contained in:
Colin Kuskie 2009-03-19 16:43:21 +00:00
parent 4b859e5ada
commit ea31d52ac0
5 changed files with 71 additions and 18 deletions

View file

@ -32,9 +32,6 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
installStoryManagerTables($session);
upgradeConfigFiles($session);
addGroupToAddToMatrix( $session );
addScreenshotTemplatesToMatrix( $session );
surveyDoAfterTimeLimit($session);
@ -42,6 +39,10 @@ surveyRemoveResponseTemplate($session);
surveyEndWorkflow($session);
installAssetHistory($session);
# Story Manager
installStoryManagerTables($session);
upgradeConfigFiles($session);
# Passive Analytics
pa_installLoggingTables($session);
pa_installPassiveAnalyticsRule($session);
@ -364,6 +365,7 @@ CREATE TABLE StoryTopic (
revisionDate BIGINT NOT NULL,
storiesPer INTEGER,
storiesShort INTEGER,
templateId CHAR(22) BINARY,
storyTemplateId CHAR(22) BINARY,
PRIMARY KEY ( assetId, revisionDate )
)