aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2025-01-15 15:12:06 +0100
committerGitHub <noreply@github.com>2025-01-15 15:12:06 +0100
commit47eedf9228efbf31136a1cc0c2efa747cada596d (patch)
treecea0d98b6e387aeb7d0c338467169b4dd42bdfb9
parenta16abfb7f645768c6da1e8a221c36bb89fd10dfb (diff)
parent5f81fdaabc139fb67050baae7cee74943be86bea (diff)
downloadnextcloud-server-47eedf9228efbf31136a1cc0c2efa747cada596d.tar.gz
nextcloud-server-47eedf9228efbf31136a1cc0c2efa747cada596d.zip
Merge pull request #50195 from nextcloud/fix/49638/update-prefs-indexes
-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(