ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilTest8DBUpdateSteps.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
20
class
ilTest8DBUpdateSteps
implements
ilDatabaseUpdateSteps
21
{
22
protected
ilDBInterface
$db
;
23
24
public
function
prepare
(
ilDBInterface
$db): void
25
{
26
$this->db =
$db
;
27
}
28
29
public
function
step_1
(): void
30
{
31
if
($this->db->tableColumnExists(
'tst_tests'
,
'mc_scoring'
)) {
32
$this->db->dropTableColumn(
'tst_tests'
,
'mc_scoring'
);
33
}
34
}
35
36
public
function
step_2
(): void
37
{
38
$this->db->modifyTableColumn(
'ass_log'
,
'logtext'
, [
'type'
=> \
ilDBConstants::T_CLOB
]);
39
}
40
}
ilTest8DBUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilTest8DBUpdateSteps.php:20
ilDBConstants\T_CLOB
const T_CLOB
Definition:
class.ilDBConstants.php:51
ilTest8DBUpdateSteps\$db
ilDBInterface $db
Definition:
class.ilTest8DBUpdateSteps.php:22
ilTest8DBUpdateSteps\step_1
step_1()
Definition:
class.ilTest8DBUpdateSteps.php:29
ilTest8DBUpdateSteps\prepare
prepare(ilDBInterface $db)
Definition:
class.ilTest8DBUpdateSteps.php:24
ilDBInterface
ilDatabaseUpdateSteps
ilTest8DBUpdateSteps\step_2
step_2()
Definition:
class.ilTest8DBUpdateSteps.php:36
Modules
Test
Setup
class.ilTest8DBUpdateSteps.php
Generated on Wed Sep 3 2025 22:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)