From 6e28c2807b751a9dbd2a60abb3038eed3cf04b42 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 30 Apr 2020 00:13:13 +0200 Subject: Add index to properties table Signed-off-by: Mario Danic --- core/Application.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/Application.php') diff --git a/core/Application.php b/core/Application.php index 2996c412553..217b6ac41e9 100644 --- a/core/Application.php +++ b/core/Application.php @@ -163,6 +163,13 @@ class Application extends App { $subject->addHintForMissingSubject($table->getName(), 'schedulobj_principuri_index'); } } + + if ($schema->hasTable('properties')) { + $table = $schema->getTable('properties'); + if (!$table->hasIndex('properties_path_index')) { + $subject->addHintForMissingSubject($table->getName(), 'properties_path_index'); + } + } } ); -- cgit v1.2.3