From 1fef301334939ac0297d3232389313098f0e537b Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 29 Oct 2020 15:12:21 +0100 Subject: [PATCH] Adjust calendars.components to 64 chars Signed-off-by: Vincent Petry --- apps/dav/lib/Migration/Version1004Date20170825134824.php | 6 ++++++ 1 file changed, 6 insertions(+) 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')) { -- 2.39.5