#275 Add kb attachment download count
This commit is contained in:
parent
c136e7cd45
commit
e7a90e66e4
@ -591,6 +591,7 @@ function execute240Scripts() {
|
||||
|
||||
// Process attachment improvement tables
|
||||
executeQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."attachments` ADD COLUMN `download_count` INT NOT NULL DEFAULT 0");
|
||||
executeQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."kb_attachments` ADD COLUMN `download_count` INT NOT NULL DEFAULT 0");
|
||||
|
||||
executeQuery("UPDATE `".hesk_dbEscape($hesk_settings['db_pfix'])."settings` SET `Value` = '2.4.0' WHERE `Key` = 'modsForHeskVersion'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user