gegmar / cluber

WebApp for clubs that need a small and cost efficient solution for selling tickets for their events.
MIT License
1 stars 1 forks source link

Removing users after undoing purchase fails #9

Closed gegmar closed 5 years ago

gegmar commented 5 years ago

If a customer undoes a purchase and has no other relations in the database but the role of a newsletter receiver, the delete statement fails because of foreign key constraint violations. This case has to be addressed, but has no higher impact on the shop (because only the user won't get deleted).