19declare(strict_types=1);
26 protected \ilDBInterface
$db;
36 if (!$this->db->indexExistsByFields(
'cal_entries', [
'starta'])) {
37 $this->db->addIndex(
'cal_entries', [
'starta'],
'i3');
39 if (!$this->db->indexExistsByFields(
'cal_entries', [
'enda'])) {
40 $this->db->addIndex(
'cal_entries', [
'enda'],
'i4');
47 if ($this->db->tableExists(
'cal_entries')
48 && $this->db->tableColumnExists(
'cal_entries',
'is_milestone')) {
49 $this->db->dropTableColumn(
'cal_entries',
'is_milestone');
52 if ($this->db->tableExists(
'cal_entries')
53 && $this->db->tableColumnExists(
'cal_entries',
'completion')) {
54 $this->db->dropTableColumn(
'cal_entries',
'completion');
57 if ($this->db->tableExists(
'cal_entry_responsible')) {
58 $this->db->dropTable(
'cal_entry_responsible');
61 $query =
'delete from settings where ' .
64 $this->db->manipulate($query);
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...