ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilStudyProgrammeAutoMembershipTableUpdateSteps.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 public const TABLE_NAME = 'prg_auto_membership';
24
25 protected ilDBInterface $db;
26
27 public function prepare(ilDBInterface $db): void
28 {
29 $this->db = $db;
30 }
31
32 public function step_1(): void
33 {
34 $this->db->addTableColumn(
35 self::TABLE_NAME,
36 'search_recursive',
37 [
38 'type' => 'integer',
39 'length' => 1,
40 'default' => 0,
41 'notnull' => true
42 ]
43 );
44 }
45}
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...