From b9836398ccddc8ec8212eb97d917dfb9b7240546 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 29 Oct 2020 15:12:21 +0100 Subject: Adjust calendars.components to 64 chars Signed-off-by: Vincent Petry --- apps/dav/lib/Migration/Version1004Date20170825134824.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/dav/lib/Migration') diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index a6a9703dc4b..53c1ebe299c 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -251,6 +251,12 @@ class Version1004Date20170825134824 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['id']); $table->addUniqueIndex(['principaluri', 'uri'], 'calendars_index'); + } else { + $table = $schema->getTable('calendars'); + $table->changeColumn('components', [ + 'notnull' => false, + 'length' => 64, + ]); } if (!$schema->hasTable('calendarchanges')) { -- cgit v1.2.3