Cascading deletion of donations on donor or runner deletion
Tests:
Create donation
Create distance donation
Get donation
Get distance donation
Update donation invalid
Update distance donation invalid
Update donation valid
Update distance donation valid
Delete donation
Delete distance donation
Deleting donor w/ any donations must return error (w/o force)
Deleting runner w/ distance donations must return error (w/o force)
Deleting donor w/ cascading deletion of any donations must work (w/ force)
Deleting runner w/ cascading deletion of distance donations must work (w/ force)
All of the create and update actions should accept numbers for their relations (to be expanded via #90)
We need api endpoints for donations.
* [x] Get all donations (including distance)
* [x] Get a single donation (including distance)
* [x] Create a new donation
* [x] Create a new distance donation
* [x] Update a donation's information
* [x] Update a distance donation's information
* [x] Delete a donation (No matter which type)
* [x] Cascading deletion of donations on donor or runner deletion
Tests:
* [x] Create donation
* [x] Create distance donation
* [x] Get donation
* [x] Get distance donation
* [x] Update donation invalid
* [x] Update distance donation invalid
* [x] Update donation valid
* [x] Update distance donation valid
* [x] Delete donation
* [x] Delete distance donation
* [x] Deleting donor w/ any donations must return error (w/o force)
* [x] Deleting runner w/ distance donations must return error (w/o force)
* [x] Deleting donor w/ cascading deletion of any donations must work (w/ force)
* [x] Deleting runner w/ cascading deletion of distance donations must work (w/ force)
All of the create and update actions should accept numbers for their relations (to be expanded via #90)
niggl
added this to the Donations&Scans milestone 2020-12-31 16:37:59 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
We need api endpoints for donations.
Tests:
All of the create and update actions should accept numbers for their relations (to be expanded via #90)