diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-04-08 10:09:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 10:09:13 +0200 |
commit | 14ee17e5c5b818d07b4c2a20047574b813165bf0 (patch) | |
tree | ab5dae751fb2030d9820acc66f1ab25e81a856d0 /core/Command | |
parent | 41216e68bfd88545c88a7ca5d48bf7410cfef518 (diff) | |
download | nextcloud-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.php | 7 |
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>'); |