From 84017a9ad731f92f0981dcf69748f5fa40edab84 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 30 Apr 2024 12:23:41 -0700 Subject: [PATCH] fix(core): add fs_name_hash index to migration Signed-off-by: Varun Patil --- core/Migrations/Version13000Date20170718121200.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index b9f7827809bbd..f3bd12e115962 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -261,6 +261,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op $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) {