remove unused column from db in Shortcut
This commit is contained in:
parent
069d4e4871
commit
4e1cac6d57
1 changed files with 7 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ installSQLForm();
|
||||||
addResizableTextareas();
|
addResizableTextareas();
|
||||||
addScratchKeys();
|
addScratchKeys();
|
||||||
addGraphing();
|
addGraphing();
|
||||||
|
dropShortcutDescription();
|
||||||
|
|
||||||
finish($session); # this line required
|
finish($session); # this line required
|
||||||
|
|
||||||
|
|
@ -64,6 +65,12 @@ sub addResizableTextareas {
|
||||||
$session->setting->remove("textAreaRows");
|
$session->setting->remove("textAreaRows");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------
|
||||||
|
sub dropShortcutDescription {
|
||||||
|
print "\tRemoving unused description column from Shortcut. Unused since Dashboard was added.\n";
|
||||||
|
$session->db->write("ALTER TABLE Shortcut DROP COLUMN description;");
|
||||||
|
}
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
sub updateScratch {
|
sub updateScratch {
|
||||||
print "\tIncreasing size of scratch variables.\n";
|
print "\tIncreasing size of scratch variables.\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue