From ed84f07784c2b991cd5adc95f94b04908564afd3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 23 Dec 2021 11:34:51 +0100 Subject: Add missing index for propertypath only queries against properties Signed-off-by: Christoph Wurst --- core/Application.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/Application.php') diff --git a/core/Application.php b/core/Application.php index 4e36d59baac..0f363f8c699 100644 --- a/core/Application.php +++ b/core/Application.php @@ -195,6 +195,9 @@ class Application extends App { if (!$table->hasIndex('properties_path_index')) { $subject->addHintForMissingSubject($table->getName(), 'properties_path_index'); } + if (!$table->hasIndex('properties_pathonly_index')) { + $subject->addHintForMissingSubject($table->getName(), 'properties_pathonly_index'); + } } if ($schema->hasTable('jobs')) { -- cgit v1.2.3