From 181e7656db5be93d4931a8ceb43b88dfef454020 Mon Sep 17 00:00:00 2001 From: tbongers-cat Date: Wed, 18 Oct 2023 15:01:49 +0200 Subject: [PATCH] Calendar: Change length of title field to match length of object title (#31368) --- .../Setup/class.ilCalendarDBUpdateSteps8.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Services/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps8.php b/Services/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps8.php index 8f25b7871252..7cd2236d343a 100644 --- a/Services/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps8.php +++ b/Services/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps8.php @@ -1,7 +1,5 @@ @@ -51,4 +50,15 @@ public function step_2(): void ] ); } + + public function step_3(): void + { + $this->db->modifyTableColumn( + 'cal_categories', + 'title', + [ + 'length' => 255 + ] + ); + } }