Hi all,
I have some calendars that have been deleted from Nextcloud, but they still have left over related items.
For example:
mayfirst=> SELECT DISTINCT calendarid FROM oc_calendarobjects WHERE calendarid NOT IN (SELECT id FROM oc_calendars);
calendarid
------------
438
443
444
446
447
451
455
463
(8 rows)
mayfirst=>
Is there any utility to cleanly delete left over calendar objects from the database?
I can see that there is a lot of deleting that goes on under the hood. I’m not sure I’m confident I can do it all properly. Especially since it seems there are some listeners in the code that would be hard to fully track down.
Any tips would be appreciated.