aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-04-08 10:09:13 +0200
committerGitHub <noreply@github.com>2021-04-08 10:09:13 +0200
commit14ee17e5c5b818d07b4c2a20047574b813165bf0 (patch)
treeab5dae751fb2030d9820acc66f1ab25e81a856d0 /core/Command
parent41216e68bfd88545c88a7ca5d48bf7410cfef518 (diff)
downloadnextcloud-server-14ee17e5c5b818d07b4c2a20047574b813165bf0.tar.gz
nextcloud-server-14ee17e5c5b818d07b4c2a20047574b813165bf0.zip
Revert "add a prefix index to filecache.path"
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Db/AddMissingIndices.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/Command/Db/AddMissingIndices.php b/core/Command/Db/AddMissingIndices.php
index a4f59184537..1acff55fa40 100644
--- a/core/Command/Db/AddMissingIndices.php
+++ b/core/Command/Db/AddMissingIndices.php
@@ -144,13 +144,6 @@ class AddMissingIndices extends Command {
$updated = true;
$output->writeln('<info>Filecache table updated successfully.</info>');
}
- if (!$table->hasIndex('fs_path_prefix')) {
- $output->writeln('<info>Adding additional path index to the filecache table, this can take some time...</info>');
- $table->addIndex(['size'], 'fs_path_prefix', [], ["lengths" => [128]]);
- $this->connection->migrateToSchema($schema->getWrappedSchema());
- $updated = true;
- $output->writeln('<info>Filecache table updated successfully.</info>');
- }
}
$output->writeln('<info>Check indices of the twofactor_providers table.</info>');