diff --git a/core/Application.php b/core/Application.php index bc8e069ce6b..d2bcb18bafb 100644 --- a/core/Application.php +++ b/core/Application.php @@ -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) {