ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilScorm2004DatabaseUpdateSteps.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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("cmi_interaction", "c_timestamp", array("type" => "text", "length" => 40, "notnull" => false, 'default' => null));
33 }
34
35 public function step_2(): void
36 {
37 $this->db->modifyTableColumn("cp_dependency", "resourceid", array("type" => "text", "length" => 200, "notnull" => false, 'default' => null));
38 }
39
40}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...