diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-12-10 14:32:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 14:32:13 +0100 |
commit | ccd5ca54762db358dece2c8e917310ad680063d3 (patch) | |
tree | 01c8cfd352a581d5b939211e9d05530c8197445a /apps/dav | |
parent | 3c693db0ca770fccd5521ecdc4da6d77ae966a73 (diff) | |
parent | 36ffad5ba7e62783f3fb4073a6eedf1c0ca645b9 (diff) | |
download | nextcloud-server-ccd5ca54762db358dece2c8e917310ad680063d3.tar.gz nextcloud-server-ccd5ca54762db358dece2c8e917310ad680063d3.zip |
Merge pull request #23044 from nextcloud/migration-10.5
Handle owncloud migration to latest release
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Migration/Version1004Date20170825134824.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index a6a9703dc4b..9ba3b18d1d7 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')) { @@ -335,6 +341,12 @@ class Version1004Date20170825134824 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['id']); $table->addUniqueIndex(['principaluri', 'uri'], 'calsub_index'); + } else { + $table = $schema->getTable('calendarsubscriptions'); + $table->changeColumn('lastmodified', [ + 'notnull' => false, + 'unsigned' => true, + ]); } if (!$schema->hasTable('schedulingobjects')) { |