fix(missing-index): update preferences table

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2025-01-15 09:25:18 -01:00
parent 0f2dcfd0f1
commit 5f81fdaabc

View file

@ -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(