From 2ddb00feeb2e2d1130100ef20a64947d065a1181 Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Mon, 30 Sep 2024 16:24:51 +0200 Subject: [PATCH] Test: Fix Length of Title Field in DB See: https://mantis.ilias.de/view.php?id=41635 --- .../Setup/class.ilTestQuestionPool9DBUpdateSteps.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Modules/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php b/Modules/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php index 14efe5238c13..279d9ba9e959 100644 --- a/Modules/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php +++ b/Modules/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php @@ -76,4 +76,13 @@ public function step_5(): void ['type' => 'text', 'length' => 512] ); } + + public function step_6(): void + { + $this->db->modifyTableColumn( + 'qpl_questions', + 'title', + ['type' => 'text', 'length' => 124] + ); + } }