-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew and enhanced functionalNew and enhanced functional
Description
Instead of deleting events, tombstone them. This allows for easier audit and recovery after accidental deletion.
To implement:
- Add
deleted_at = DateTimeField()to theEvent(Document)definition. GET /eventsqueries on (untested)deleted_at: None.DELETE /events/{id}setsevent.deleted_atto the current timestamp.
The use of a timestamp allows us to garbage collect (truly delete) tombstoned events at a later date, although this issue calls for neither a cookbook recipe nor code to do this.
Metadata
Metadata
Assignees
Labels
enhancementNew and enhanced functionalNew and enhanced functional