summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-23 11:34:51 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-23 15:51:50 +0100
commited84f07784c2b991cd5adc95f94b04908564afd3 (patch)
tree8ac271208d4d2d0fdf70e6aa762117f32a1bff7f /core/Application.php
parent29dffd7e7fc84faa6a4317c691c6cac9eaf42f42 (diff)
downloadnextcloud-server-ed84f07784c2b991cd5adc95f94b04908564afd3.tar.gz
nextcloud-server-ed84f07784c2b991cd5adc95f94b04908564afd3.zip
Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php3
1 files changed, 3 insertions, 0 deletions
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')) {