issues
search
DDMAL
/
VIM
The Virtual Instrument Museum website repository
MIT License
0
stars
2
forks
source link
Modify on_delete behaviour for `Instrument`, `AVResource`, and `InstrumentName` models
#142
Closed
dchiller
closed
1 month ago
dchiller
commented
1 month ago
On the Instrument model, set default_image and thumbnail to NULL if related AVResource object is deleted.
On the InstrumentName model, delete the InstrumentName if the related Instrument is deleted.
On the AVResource model, set the instrument field to NULL if the related Instrument is deleted.
Closes #140
Closes #140