I have a problem when a user deletes his account, but a list that he created still exists, how do I delete the list when the user deletes his account? I use jetsream laravel for auth.
The following is the list table that I want to delete based on the email to be deleted:
and the following is the users table that you want to delete:
I have tried reading the jetsream docs, but still can't find a solution, please help friends.