aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2024-06-03 13:06:10 +0200
committerGitHub <noreply@github.com>2024-06-03 13:06:10 +0200
commita28a9709bad150260c06f698e9b9f6260009f5b6 (patch)
tree0cd29b7e076d78e39b5736bbb4617d7ed9a07dcc /core
parent2c3c74ac2ef7256a991a7e0fb074c1e32672393f (diff)
parentad78f7e48e7f03fc6c3f47a8972d122cde275d97 (diff)
downloadnextcloud-server-a28a9709bad150260c06f698e9b9f6260009f5b6.tar.gz
nextcloud-server-a28a9709bad150260c06f698e9b9f6260009f5b6.zip
Merge pull request #45235 from nextcloud/fix/remove-old-scheduling-objects
fix(caldav): automatically delete outdated scheduling objects
Diffstat (limited to 'core')
-rw-r--r--core/Application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index 808b8a266d9..bc8e069ce6b 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -172,6 +172,12 @@ class Application extends App {
);
$event->addMissingIndex(
+ 'schedulingobjects',
+ 'schedulobj_lastmodified_idx',
+ ['lastmodified']
+ );
+
+ $event->addMissingIndex(
'properties',
'properties_path_index',
['userid', 'propertypath']