From 0d42d996d117b295f881ece6d55e59910e5d8f1b Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 29 Oct 2020 15:27:22 +0100 Subject: Adjust further columns - calendarsubscriptions.lastmodified -> not null - external_config.value -> allow null Signed-off-by: Vincent Petry --- apps/files_external/lib/Migration/Version1011Date20200630192246.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/files_external/lib') diff --git a/apps/files_external/lib/Migration/Version1011Date20200630192246.php b/apps/files_external/lib/Migration/Version1011Date20200630192246.php index d3aa630d532..934a9e34783 100644 --- a/apps/files_external/lib/Migration/Version1011Date20200630192246.php +++ b/apps/files_external/lib/Migration/Version1011Date20200630192246.php @@ -121,6 +121,12 @@ class Version1011Date20200630192246 extends SimpleMigrationStep { $table->setPrimaryKey(['config_id']); $table->addIndex(['mount_id'], 'config_mount'); $table->addUniqueIndex(['mount_id', 'key'], 'config_mount_key'); + } else { + $table = $schema->getTable('external_config'); + $table->changeColumn('value', [ + 'notnull' => false, + 'length' => 4096, + ]); } if (!$schema->hasTable('external_options')) { -- cgit v1.2.3