summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-12-10 14:32:13 +0100
committerGitHub <noreply@github.com>2020-12-10 14:32:13 +0100
commitccd5ca54762db358dece2c8e917310ad680063d3 (patch)
tree01c8cfd352a581d5b939211e9d05530c8197445a /apps/files_external
parent3c693db0ca770fccd5521ecdc4da6d77ae966a73 (diff)
parent36ffad5ba7e62783f3fb4073a6eedf1c0ca645b9 (diff)
downloadnextcloud-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/files_external')
-rw-r--r--apps/files_external/lib/Migration/Version1011Date20200630192246.php6
1 files changed, 6 insertions, 0 deletions
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')) {