aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Application.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/Application.php b/core/Application.php
index d2bcb18bafb..e2315bbf073 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -203,8 +203,13 @@ class Application extends App {
$event->addMissingIndex(
'preferences',
- 'preferences_app_key',
- ['appid', 'configkey']
+ 'prefs_uid_lazy_i',
+ ['userid', 'lazy']
+ );
+ $event->addMissingIndex(
+ 'preferences',
+ 'prefs_app_key_ind_fl_i',
+ ['appid', 'configkey', 'indexed', 'flags']
);
$event->addMissingIndex(