Andrzej On Software

How to properly handle deleting an object in a business system?

Informações:

Sinopse

You can hard-delete an object, you can also use a boolean flag "deleted", you can use a datetime field called "deleted_at". You can also have a record per each deletion. Finally, you can just use events.What's best?