From ad78f7e48e7f03fc6c3f47a8972d122cde275d97 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Wed, 8 May 2024 20:38:51 +0200 Subject: fix(caldav): automatically delete outdated scheduling objects Signed-off-by: Anna Larch --- core/Application.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core') diff --git a/core/Application.php b/core/Application.php index cfbb8f4018a..08b16b41f95 100644 --- a/core/Application.php +++ b/core/Application.php @@ -170,6 +170,12 @@ class Application extends App { ['principaluri'] ); + $event->addMissingIndex( + 'schedulingobjects', + 'schedulobj_lastmodified_idx', + ['lastmodified'] + ); + $event->addMissingIndex( 'properties', 'properties_path_index', -- cgit v1.2.3