diff --git a/components/ILIAS/Session/classes/Setup/UpdateStepsV12.php b/components/ILIAS/Session/classes/Setup/UpdateStepsV12.php new file mode 100644 index 000000000000..2b769b8f6798 --- /dev/null +++ b/components/ILIAS/Session/classes/Setup/UpdateStepsV12.php @@ -0,0 +1,43 @@ +db = $db; + } + + public function step_1(): void + { + $this->db->modifyTableColumn('event', 'details', [ + 'type' => ilDBConstants::T_CLOB, + 'length' => 4000, + ]); + } +} diff --git a/components/ILIAS/Session/classes/Setup/class.ilSessionSetupAgent.php b/components/ILIAS/Session/classes/Setup/class.ilSessionSetupAgent.php index 345045009756..1f029f984f67 100755 --- a/components/ILIAS/Session/classes/Setup/class.ilSessionSetupAgent.php +++ b/components/ILIAS/Session/classes/Setup/class.ilSessionSetupAgent.php @@ -20,6 +20,7 @@ use ILIAS\Setup; use ILIAS\Setup\Config; +use ILIAS\Session\Setup\UpdateStepsV12; /** * @author Tim Schmitz @@ -28,7 +29,12 @@ class ilSessionSetupAgent extends Setup\Agent\NullAgent { public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective { - return new ilDatabaseUpdateStepsExecutedObjective(new ilSessionDBUpdateSteps9()); + return new Setup\ObjectiveCollection( + 'Update Session component', + false, + new ilDatabaseUpdateStepsExecutedObjective(new ilSessionDBUpdateSteps9()), + new ilDatabaseUpdateStepsExecutedObjective(new UpdateStepsV12()) + ); } public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective