diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2024-07-31 12:11:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-31 12:11:18 +0200 |
commit | 8dc28fd59d5d65abc14a63569187d7b5642f2e56 (patch) | |
tree | 29c88d505ef44f14cfde99b26693d74ea64a7fa7 /core | |
parent | 778c11837483767f0791619d18f1efae6b17553d (diff) | |
parent | 17b8173b103fe1ea6c9a6d0c6620fa29779949be (diff) | |
download | nextcloud-server-8dc28fd59d5d65abc14a63569187d7b5642f2e56.tar.gz nextcloud-server-8dc28fd59d5d65abc14a63569187d7b5642f2e56.zip |
Merge pull request #46905 from nextcloud/backport/45306/stable28
[stable28] perf(systemtags): Add index for systemtags_object_mappings.objectid
Diffstat (limited to 'core')
-rw-r--r-- | core/Application.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index 89952d89520..abc6f22c6c6 100644 --- a/core/Application.php +++ b/core/Application.php @@ -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) { |