diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-10-29 15:27:22 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-14 11:12:50 +0100 |
commit | 958f7968e302ed55e01ba765501bc6318c61f79b (patch) | |
tree | 652735b2ddbc083b2a2673322ff0830b9e539547 /apps/dav | |
parent | 1fef301334939ac0297d3232389313098f0e537b (diff) | |
download | nextcloud-server-958f7968e302ed55e01ba765501bc6318c61f79b.tar.gz nextcloud-server-958f7968e302ed55e01ba765501bc6318c61f79b.zip |
Adjust further columns
- calendarsubscriptions.lastmodified -> not null
- external_config.value -> allow null
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/dav')
-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 53c1ebe299c..9ba3b18d1d7 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -341,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')) { |