mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -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
778c118374
commit
17b8173b10
1 changed files with 6 additions and 0 deletions
|
|
@ -260,6 +260,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