Destroying a draw does not fully clean up the database
I would expect it to:
-
nullify the draw_id
field on users -
nullify the old_draw_id
field on users -
nullify the room_id
field on users who were in the draw (might change based on #703 (closed)) -
reset the intent of all students who were in the draw -
nullify the group_id
field on suites (this should be fairly easy using adependent: :nullify
in groups)
Edited by Catherine de Lacoste-Azizi