Explorar el Código

perf(core): add index on name

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Varun Patil hace 2 meses
padre
commit
5bb0a29339
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      core/Application.php

+ 5 - 0
core/Application.php

@@ -126,6 +126,11 @@ class Application extends App {
 				'fs_parent',
 				['parent']
 			);
+			$event->addMissingIndex(
+				'filecache',
+				'fs_name_hash',
+				['name']
+			);
 
 			$event->addMissingIndex(
 				'twofactor_providers',