Comment by derimagia

7 years ago

Yeah for most things this is a good way to do it. For user data when they delete the account it would be ideal if they actually removed it though

Why would that be the good way to do it? Especially if that deletion action was behind a confirmation, or if the data was never recoverable by the user? At that point, just delete delete it.

  • A lot of reasons, here's a simple example: If you have a "product" which had a CRUD interface to make and users who add it to the card, deleting it would cause relationships to fail - as in if users who already purchased the item or added it to their cart would no longer be able to see it.