aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-05-08 20:38:51 +0200
committerAnna Larch <anna@nextcloud.com>2024-05-31 13:14:01 +0200
commitad78f7e48e7f03fc6c3f47a8972d122cde275d97 (patch)
tree220b6a13bbe7be61b60f4bda5bfe118bf3bc28ce /core/Application.php
parent4a6ac1f1aab769089b1b48a45bbb15bd1fb847e1 (diff)
downloadnextcloud-server-ad78f7e48e7f03fc6c3f47a8972d122cde275d97.tar.gz
nextcloud-server-ad78f7e48e7f03fc6c3f47a8972d122cde275d97.zip
fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index cfbb8f4018a..08b16b41f95 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -171,6 +171,12 @@ class Application extends App {
);
$event->addMissingIndex(
+ 'schedulingobjects',
+ 'schedulobj_lastmodified_idx',
+ ['lastmodified']
+ );
+
+ $event->addMissingIndex(
'properties',
'properties_path_index',
['userid', 'propertypath']