summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2022-07-29 14:43:26 +0200
committerMarcel Klehr <mklehr@gmx.net>2022-08-01 14:27:34 +0200
commit047cc708d45f5dee07e986a1d6cf538049edd36c (patch)
treec6fa0659fb4897ca86892e8636598a57201add9d /core/Migrations
parent52dc51cde3aafc49e2933e6b72964ad43ee3a335 (diff)
downloadnextcloud-server-047cc708d45f5dee07e986a1d6cf538049edd36c.tar.gz
nextcloud-server-047cc708d45f5dee07e986a1d6cf538049edd36c.zip
DB mounts table: Add index for mount_provider_class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version24000Date20220202150027.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version24000Date20220202150027.php b/core/Migrations/Version24000Date20220202150027.php
index 76a3ae8c73c..6a3f5ad2faf 100644
--- a/core/Migrations/Version24000Date20220202150027.php
+++ b/core/Migrations/Version24000Date20220202150027.php
@@ -30,6 +30,7 @@ class Version24000Date20220202150027 extends SimpleMigrationStep {
'notnull' => false,
'length' => 128,
]);
+ $table->addIndex(['mount_provider_class'], 'mounts_class_index');
return $schema;
}
return null;