Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
perf(systemtags): Add index for systemtags_object_mappings.objectid
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst authored and backportbot[bot] committed Jul 31, 2024
commit 17b8173b103fe1ea6c9a6d0c6620fa29779949be
6 changes: 6 additions & 0 deletions core/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ public function __construct() {
'systag_by_tagid',
['systemtagid', 'objecttype']
);

$event->addMissingIndex(
'systemtag_object_mapping',
'systag_by_objectid',
['objectid']
);
});

$eventDispatcher->addListener(AddMissingPrimaryKeyEvent::class, function (AddMissingPrimaryKeyEvent $event) {
Expand Down