ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps Class Reference
+ Inheritance diagram for ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps:
+ Collaboration diagram for ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps:

Public Member Functions

 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 
 step_1 ()
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

Definition at line 21 of file class.ilCOPageHotfix9DBUpdateSteps.php.

Member Function Documentation

◆ prepare()

ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps::prepare ( \ilDBInterface  $db)

Prepare the execution of the steps.

Do not use anything from the globals or the DIC inside your steps, only use the instance of the database provided here.

Implements ilDatabaseUpdateSteps.

Definition at line 25 of file class.ilCOPageHotfix9DBUpdateSteps.php.

References ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps\$db.

25  : void
26  {
27  $this->db = $db;
28  }

◆ step_1()

ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps::step_1 ( )

Definition at line 30 of file class.ilCOPageHotfix9DBUpdateSteps.php.

30  : 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  }

Field Documentation

◆ $db

ilDBInterface ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps::$db
protected

The documentation for this class was generated from the following file: