Skip to content

Commit

Permalink
Calendar: Change length of title field to match length of object titl…
Browse files Browse the repository at this point in the history
…e (#31368)
  • Loading branch information
tbongers-cat committed Oct 18, 2023
1 parent dabb4fe commit 181e765
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Services/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps8.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -17,6 +15,7 @@
* https://github.com/ILIAS-eLearning
*
*********************************************************************/
declare(strict_types=1);

/**
* @author Tim Schmitz <[email protected]>
Expand Down Expand Up @@ -51,4 +50,15 @@ public function step_2(): void
]
);
}

public function step_3(): void
{
$this->db->modifyTableColumn(
'cal_categories',
'title',
[
'length' => 255
]
);
}
}

0 comments on commit 181e765

Please sign in to comment.