vtenext/modules/Update/changes/1772_1773.php
2021-04-28 20:10:26 +02:00

11 lines
639 B
PHP

<?php
global $adb, $table_prefix;
$indexes = $adb->database->MetaIndexes($table_prefix.'_running_processes_timer');
if (!array_key_exists('running_process_timer_cron', $indexes)) {
$index = $adb->datadict->CreateIndexSQL('running_process_timer_cron', $table_prefix.'_running_processes_timer', 'executed');
$adb->datadict->ExecuteSQLArray((Array)$index);
}
if (!array_key_exists('running_process_timer_check', $indexes)) {
$index = $adb->datadict->CreateIndexSQL('running_process_timer_check', $table_prefix.'_running_processes_timer', array('mode','running_process','prev_elementid'));
$adb->datadict->ExecuteSQLArray((Array)$index);
}