summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorMario Danic <mario@lovelyhq.com>2020-04-30 00:13:13 +0200
committerMario Danic <mario@lovelyhq.com>2020-04-30 23:04:15 +0200
commit6e28c2807b751a9dbd2a60abb3038eed3cf04b42 (patch)
treed3e558553bb509aefad4210280ce91f015f28c41 /core/Application.php
parent8d5404b750df85a947c43aacc266c6088d8b4aed (diff)
downloadnextcloud-server-6e28c2807b751a9dbd2a60abb3038eed3cf04b42.tar.gz
nextcloud-server-6e28c2807b751a9dbd2a60abb3038eed3cf04b42.zip
Add index to properties table
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php7
1 files changed, 7 insertions, 0 deletions
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');
+ }
+ }
}
);