add keys to userSessionScratch table to make setting existing session scratch keys work
This commit is contained in:
parent
cd02e1fe32
commit
8657769993
1 changed files with 7 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ updateArticle();
|
|||
updateScratch();
|
||||
installSQLForm();
|
||||
addResizableTextareas();
|
||||
addScratchKeys();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -906,6 +907,12 @@ sub changeDbCacheTimeoutName {
|
|||
$session->db->write("alter table groups change dbCacheTimeout groupCacheTimeout int not null default 3600");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addScratchKeys {
|
||||
print "\tAssigning keys to userSessionScratch.\n" unless ($quiet);
|
||||
$session->db->write("alter table userSessionScratch ADD PRIMARY KEY (sessionId, name)");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addNavigationMimeType {
|
||||
print "\tAdding Mime Type to Navigations.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue