ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
class.ilHelpDB10HotfixSteps.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\Help\Setup;
20
22{
23 protected \ilDBInterface $db;
24
25 public function prepare(\ilDBInterface $db): void
26 {
27 $this->db = $db;
28 }
29
30 public function step_1(): void
31 {
32 $this->db->modifyTableColumn('help_map', 'component', [
33 'type' => 'text',
34 'length' => 10,
35 'default' => ""
36 ]);
37 $this->db->modifyTableColumn('help_map', 'screen_id', [
38 'type' => 'text',
39 'length' => 100,
40 'default' => ""
41 ]);
42 $this->db->modifyTableColumn('help_map', 'screen_sub_id', [
43 'type' => 'text',
44 'length' => 100,
45 'default' => ""
46 ]);
47 }
48
49}
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: class.Agent.php:21