|
|
|
|
|
by HelloNurse
2672 days ago
|
|
The system can simply mark the "deleted" customer as a former customer and add records of their dismissal without any referential integrity problems.
"Deleting" an entity doesn't mean that it should immediately vanish without a trace from the database, leaving a wake of destruction.
It's only a business-level change: we won't accept further orders from deleted customers, there might be something nasty to do to their outstanding orders, and so on. |
|
It could also be a possibility that we need to delete customer records pr. GDPR, but need to keep the order records due to other laws, perhaps in an anonymized form.