◆ prepare()
◆ step_1()
ilUser8DBUpdateSteps::step_1 |
( |
| ) |
|
Definition at line 30 of file class.ilUser8DBUpdateSteps.php.
References Vendor\Package\$e, $message, and ilDBConstants\T_TEXT.
32 $this->db->modifyTableColumn(
40 $this->db->modifyTableColumn(
41 'usr_session_stats_raw',
49 $this->db->modifyTableColumn(
59 .
"We could not Update the length of the column `session_id` in the table\n" 60 .
"`usr_session_istorage` as the table engine is MyIsam.\n" 61 .
"This step will be finished after updating to ILIAS 8.\n" 62 .
"You could also lengthen the field manually after you ran the migration\n" 63 .
"to migrate to InnoDB, if you require longer session_ids.";
◆ step_2()
ilUser8DBUpdateSteps::step_2 |
( |
| ) |
|
◆ step_3()
ilUser8DBUpdateSteps::step_3 |
( |
| ) |
|
Definition at line 88 of file class.ilUser8DBUpdateSteps.php.
90 if (!$this->db->tableExists(
'usr_change_email_token')) {
91 $this->db->createTable(
92 'usr_change_email_token',
◆ step_4()
ilUser8DBUpdateSteps::step_4 |
( |
| ) |
|
◆ step_5()
ilUser8DBUpdateSteps::step_5 |
( |
| ) |
|
Definition at line 122 of file class.ilUser8DBUpdateSteps.php.
124 if (!$this->db->indexExistsByFields(
'usr_change_email_token', [
'token'])) {
125 $this->db->manipulate(
'DELETE token1 FROM usr_change_email_token token1 ' 126 .
'INNER JOIN usr_change_email_token token2 ' 127 .
'WHERE token1.token = token2.token AND token1.valid_until < token2.valid_until');
128 $this->db->addPrimaryKey(
'usr_change_email_token', [
'token']);
◆ step_6()
ilUser8DBUpdateSteps::step_6 |
( |
| ) |
|
◆ $db
The documentation for this class was generated from the following file: