Making Matrix edit listing screen templatable
This commit is contained in:
parent
415221fb4d
commit
1a67df91bc
8 changed files with 118 additions and 5 deletions
Binary file not shown.
|
|
@ -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 --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue