Moved Survey test upgrade to 7.7.6-7.7.7 upgrade script
This commit is contained in:
parent
bece623b8f
commit
2bde3dc02c
7 changed files with 27 additions and 16 deletions
|
|
@ -33,6 +33,7 @@ addOgoneToConfig( $session );
|
|||
addUseEmailAsUsernameToSettings( $session );
|
||||
alterVATNumberTable( $session );
|
||||
addRedirectAfterLoginUrlToSettings( $session );
|
||||
addSurveyTestResultsTemplateColumn( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -78,6 +79,16 @@ sub alterVATNumberTable {
|
|||
print "Done\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addSurveyTestResultsTemplateColumn {
|
||||
my $session = shift;
|
||||
print "\tAdding columns for Survey Test Results Template..." unless $quiet;
|
||||
$session->db->write("alter table Survey add column `testResultsTemplateId` char(22)");
|
||||
|
||||
print "Done\n" unless $quiet;
|
||||
|
||||
}
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue