Open bpepple opened 2 years ago
Describe the bug Right now there is no validation done on new Attribution objects to verify the data isn't duplicated.
To Reproduce Noticed this when I update the 'Marvel Update' command, and got duplicate Attribution data.
Expected behavior New Attribution objects shouldn't be created.
Additional context Need to either add a unique_together constraint or other type of check.
For now, dd968253b2abf1ebef593e61d5c0a57c256ee78e should fix the 'update_marvel' command, but should look further into whether it makes sense to add a constraint of some kind to the model.
Describe the bug Right now there is no validation done on new Attribution objects to verify the data isn't duplicated.
To Reproduce Noticed this when I update the 'Marvel Update' command, and got duplicate Attribution data.
Expected behavior New Attribution objects shouldn't be created.
Additional context Need to either add a unique_together constraint or other type of check.