ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilCOPageHotfix9DBUpdateSteps.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\COPage\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(
33  'copg_section_timings',
34  'unix_ts',
35  [
36  'type' => 'integer',
37  'length' => 8,
38  'notnull' => true,
39  'default' => 0
40  ]
41  );
42  }
43 
44 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: class.Agent.php:19
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
prepare(\ilDBInterface $db)
Prepare the execution of the steps.