issue 868 : Add new performerce indexes
This commit is contained in:
@@ -705,7 +705,7 @@ opcache.interned_strings_buffer'),
|
|||||||
('panel', 'customer_hide_options', ''),
|
('panel', 'customer_hide_options', ''),
|
||||||
('panel', 'is_configured', '0'),
|
('panel', 'is_configured', '0'),
|
||||||
('panel', 'version', '0.10.19'),
|
('panel', 'version', '0.10.19'),
|
||||||
('panel', 'db_version', '202005150');
|
('panel', 'db_version', '202007240');
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `panel_tasks`;
|
DROP TABLE IF EXISTS `panel_tasks`;
|
||||||
|
|||||||
@@ -649,3 +649,20 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.10.18')) {
|
|||||||
showUpdateStep("Updating from 0.10.18 to 0.10.19", false);
|
showUpdateStep("Updating from 0.10.18 to 0.10.19", false);
|
||||||
\Froxlor\Froxlor::updateToVersion('0.10.19');
|
\Froxlor\Froxlor::updateToVersion('0.10.19');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (\Froxlor\Froxlor::isDatabaseVersion('202005150')) {
|
||||||
|
showUpdateStep("Add new performerce indexes", false);
|
||||||
|
|
||||||
|
Database::query("ALTER TABLE panel_customers ADD INDEX guid (guid);");
|
||||||
|
Database::query("ALTER TABLE panel_tasks ADD INDEX type (type);");
|
||||||
|
Database::query("ALTER TABLE mail_users ADD INDEX username (username);");
|
||||||
|
Database::query("ALTER TABLE mail_users ADD INDEX imap (imap);");
|
||||||
|
Database::query("ALTER TABLE mail_users ADD INDEX pop3 (pop3);");
|
||||||
|
Database::query("ALTER TABLE ftp_groups ADD INDEX gid (gid);");
|
||||||
|
Database::query("ALTER TABLE ftp_groups ADD INDEX members (members);");
|
||||||
|
|
||||||
|
|
||||||
|
lastStepStatus(0);
|
||||||
|
\Froxlor\Froxlor::updateToDbVersion('202007240');
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ final class Froxlor
|
|||||||
const VERSION = '0.10.19';
|
const VERSION = '0.10.19';
|
||||||
|
|
||||||
// Database version (YYYYMMDDC where C is a daily counter)
|
// Database version (YYYYMMDDC where C is a daily counter)
|
||||||
const DBVERSION = '202005150';
|
const DBVERSION = '202007240';
|
||||||
|
|
||||||
// Distribution branding-tag (used for Debian etc.)
|
// Distribution branding-tag (used for Debian etc.)
|
||||||
const BRANDING = '';
|
const BRANDING = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user