This commit is contained in:
Julio Cesar Laura Avendaño
2019-03-19 14:34:05 -04:00
parent 36f9746e82
commit c109be8690

View File

@@ -247,6 +247,20 @@ class WorkspaceTools
$this->checkMafeRequirements($workspace, $lang); $this->checkMafeRequirements($workspace, $lang);
CLI::logging("* End checking MAFE requirements...(Completed on " . (microtime(true) - $start) . " seconds)\n"); CLI::logging("* End checking MAFE requirements...(Completed on " . (microtime(true) - $start) . " seconds)\n");
CLI::logging("* Start deleting MySQL triggers: APP_DELEGATION_UPDATE, APPLICATION_UPDATE, CONTENT_UPDATE...\n");
$start = microtime(true);
$this->deleteTriggersMySQL(['APP_DELEGATION_UPDATE', 'APPLICATION_UPDATE', 'CONTENT_UPDATE']);
CLI::logging("* End deleting MySQL triggers: APP_DELEGATION_UPDATE, APPLICATION_UPDATE, CONTENT_UPDATE... (Completed on " .
(microtime(true) - $start) . " seconds)\n");
$bigTables = ['APPLICATION', 'APP_ASSIGN_SELF_SERVICE_VALUE_GROUP', 'APP_CACHE_VIEW', 'APP_DELEGATION', 'APP_DELAY',
'APP_DOCUMENT', 'APP_HISTORY', 'APP_MESSAGE', 'GROUP_USER', 'LOGIN_LOG'];
CLI::logging("* Start deleting indexes from big tables: " . implode(', ', $bigTables) . "...\n");
$start = microtime(true);
$this->deleteIndexes($bigTables);
CLI::logging("* End deleting indexes from big tables: " . implode(', ', $bigTables) . "... (Completed on " .
(microtime(true) - $start) . " seconds)\n");
CLI::logging("* Start to update CONTENT table...\n"); CLI::logging("* Start to update CONTENT table...\n");
$start = microtime(true); $start = microtime(true);
$this->upgradeContent($workspace); $this->upgradeContent($workspace);