Skip to content

Commit

Permalink
perf(systemtags): Add index for systemtags_object_mappings.objectid
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst authored and backportbot[bot] committed Jul 31, 2024
1 parent 778c118 commit 17b8173
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 17b8173

Please sign in to comment.