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).
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).