[Convex Auth]: automatic clean-up when deleting user/authAccount?
Hi, does Convex Auth ship with a deleteUser/deleteAuthAccount functionality that automatically cleans up related documents in all the automatically generated tables such as
authSessions
, authVerificationCodes
, authRefreshTokens
etc? 🙂
I couldn't find find it in the implementation, and I suppose you leave this functionality out to allow us full control over it, but maybe a "starter" would be nice that cleans up orphaned documents in the automatically created tables 🙂1 Reply
Only manually can you delete all associated ones. Since there are no cascade methods for deleting