User deletion related trigger #72

Closed
opened 2026-03-22 22:36:30 +00:00 by charlie · 1 comment
Owner

Create triggers that on user deletion

  • If the user is waiting aproval remove his entry from coach_history before his removal
  • If the user is currently a coach remove him as the coach of the club and make the new coach ID null

In addition a trigger that

  • Set the endtime in coach_history to current time when a coach stop coaching
Create triggers that on user deletion - If the user is waiting aproval remove his entry from coach_history before his removal - If the user is currently a coach remove him as the coach of the club and make the new coach ID null In addition a trigger that - Set the endtime in coach_history to current time when a coach stop coaching
charlie added reference feature/user-procs 2026-03-22 22:36:34 +00:00
Author
Owner

we're short on time PRs are the new issues

we're short on time PRs are the new issues
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ULFSII/phoenix_db#72
No description provided.