You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently once a user has been registered to a semester they cannot be removed. Meaning there could be many "dead" users who were mistakenly added to a semester, misrepresenting the member count and clogging other results.
Approach
Create a new endpoint on DELETE /api/memberships/<membershipId>
Update foreign key constraints for all membership_id FKs to include ON DELETE CASCADE
Test to ensure that referenced entities are deleted along with memberships (rankings, participants)
Description
Currently once a user has been registered to a semester they cannot be removed. Meaning there could be many "dead" users who were mistakenly added to a semester, misrepresenting the member count and clogging other results.
Approach
DELETE /api/memberships/<membershipId>
membership_id
FKs to includeON DELETE CASCADE
Related To
Blocked By
Blocks
The text was updated successfully, but these errors were encountered: