Delete Endpoints
Closed this issue · 1 comments
ValentijnvdBeek commented
Summary
Due to an oversight, none of the data structures that are currently used have any way to delete an item when it is needed. This is less than ideal since it means that data usage can only ever grow over time and never shrink as research is completed.
Proposed Fix
Create some endpoints which delete images:
- Remove image endpoint
- Remove machine endpoint
- Remove machine setup endpoint
- Remove image setup endpoint
- Remove user endpoint
ValentijnvdBeek commented
Foreign keys have been added to the models so that deleting them should cascade correctly