diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-10-29 15:12:21 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-09 12:13:33 +0100 |
commit | b9836398ccddc8ec8212eb97d917dfb9b7240546 (patch) | |
tree | 60041346d17dcf68ebe4b948d3a29a2c1f42802e /apps | |
parent | 2607ac3fb247d879607434a7afaf259e73d96bc0 (diff) | |
download | nextcloud-server-b9836398ccddc8ec8212eb97d917dfb9b7240546.tar.gz nextcloud-server-b9836398ccddc8ec8212eb97d917dfb9b7240546.zip |
Adjust calendars.components to 64 chars
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Migration/Version1004Date20170825134824.php | 6 |
1 files changed, 6 insertions, 0 deletions
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')) { |