I have a long upgrade history, where I started out on OwnCloud and then migrated over to Nextcloud. I have also used the Contacts app for a long time.
I was today doing some contacts cleanup and noticed dangling data tuples with the following command:
SELECT * FROM oc_cards_properties
LEFT JOIN oc_cards ON oc_cards_properties.cardid = oc_cards.id
HAVING oc_cards.id IS NULL;
38 rows in set (0.00 sec)
How about adding a constraint to disallow such invalid data?
Thanks,
Raoul
I have a long upgrade history, where I started out on OwnCloud and then migrated over to Nextcloud. I have also used the Contacts app for a long time.
I was today doing some contacts cleanup and noticed dangling data tuples with the following command:
How about adding a constraint to disallow such invalid data?
Thanks,
Raoul