Making Matrix edit listing screen templatable

This commit is contained in:
Yung Han Khoe 2008-12-09 15:17:20 +00:00
parent 415221fb4d
commit 1a67df91bc
8 changed files with 118 additions and 5 deletions

View file

@ -29,6 +29,7 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
addMatrixEditListingTemplate( $session );
lengthenThingyDefaultValues($session);
finish($session); # this line required
@ -43,6 +44,13 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
# Add editListingTemplate property to Matrix
sub addMatrixEditListingTemplate {
my $session = shift;
print "Add editListingTemplate property to Matrix\t... " unless $quiet;
$session->db->write("alter table Matrix add editListingTemplateId char(22)");
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
@ -54,6 +62,7 @@ sub lengthenThingyDefaultValues {
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#----------------------------------------------------------------------------