aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVarun Patil <varunpatil@ucla.edu>2024-04-30 12:23:41 -0700
committerVarun Patil <varunpatil@ucla.edu>2024-04-30 12:24:23 -0700
commit84017a9ad731f92f0981dcf69748f5fa40edab84 (patch)
tree8632c28df1d47a5004c6dac27257669ae52686b1 /core
parentfbb4518a0591a2680c3f311d19c4421de0a862fd (diff)
downloadnextcloud-server-84017a9ad731f92f0981dcf69748f5fa40edab84.tar.gz
nextcloud-server-84017a9ad731f92f0981dcf69748f5fa40edab84.zip
fix(core): add fs_name_hash index to migration
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Diffstat (limited to 'core')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index b9f7827809b..f3bd12e1159 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -261,6 +261,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['storage', 'size', 'fileid'], 'fs_storage_size');
$table->addIndex(['fileid', 'storage', 'size'], 'fs_id_storage_size');
$table->addIndex(['parent'], 'fs_parent');
+ $table->addIndex(['name'], 'fs_name_hash');
$table->addIndex(['mtime'], 'fs_mtime');
$table->addIndex(['size'], 'fs_size');
if (!$schema->getDatabasePlatform() instanceof PostgreSQL94Platform) {