ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilSessionDBUpdateSteps9.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilSessionDBUpdateSteps9
implements
ilDatabaseUpdateSteps
25
{
26
protected \ilDBInterface
$db
;
27
28
public
function
prepare
(\
ilDBInterface
$db): void
29
{
30
$this->db =
$db
;
31
}
32
33
public
function
step_1
(): void
34
{
35
// Add index
36
if
(!$this->db->indexExistsByFields(
'event_appointment'
, [
'event_id'
])) {
37
$this->db->addIndex(
'event_appointment'
, [
'event_id'
],
'i1'
);
38
}
39
}
40
41
public
function
step_2
(): void
42
{
43
// drop unused table
44
$this->db->dropTable(
'event_file'
,
false
);
45
}
46
}
ilDBInterface
ilDatabaseUpdateSteps
ilSessionDBUpdateSteps9\step_2
step_2()
Definition:
class.ilSessionDBUpdateSteps9.php:41
ilSessionDBUpdateSteps9\$db
ilDBInterface $db
Definition:
class.ilSessionDBUpdateSteps9.php:26
ilSessionDBUpdateSteps9\step_1
step_1()
Definition:
class.ilSessionDBUpdateSteps9.php:33
ilSessionDBUpdateSteps9
Definition:
class.ilSessionDBUpdateSteps9.php:24
ilSessionDBUpdateSteps9\prepare
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Definition:
class.ilSessionDBUpdateSteps9.php:28
components
ILIAS
Session
classes
Setup
class.ilSessionDBUpdateSteps9.php
Generated on Wed Sep 3 2025 23:03:45 for ILIAS by
1.8.13 (using
Doxyfile
)