mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
perf(systemtags): Add index for systemtags_object_mappings.objectid
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
21f558b12b
commit
9f23b43e8b
1 changed files with 6 additions and 0 deletions
|
|
@ -224,6 +224,12 @@ class Application extends App {
|
|||
'systag_by_tagid',
|
||||
['systemtagid', 'objecttype']
|
||||
);
|
||||
|
||||
$event->addMissingIndex(
|
||||
'systemtag_object_mapping',
|
||||
'systag_by_objectid',
|
||||
['objectid']
|
||||
);
|
||||
});
|
||||
|
||||
$eventDispatcher->addListener(AddMissingPrimaryKeyEvent::class, function (AddMissingPrimaryKeyEvent $event) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue