CooperCrew / crew-connect

Final project for ECE-366 at the Cooper Union for the Advancement of Science and Art: a basic fully functional chatting app.
http://142.93.251.255:3000/
1 stars 4 forks source link

A user leaving a groupchat does not delete their messages #76

Open colinh09 opened 1 year ago

colinh09 commented 1 year ago

When a user leaves a groupchat, their messages don't disappear. This is weird because I thought I added cascade on delete, but this now becomes a design decision. What is better, leaving their messages in there even though tthe user left, or cascading the deletion of the user from the gc?

johnpl-io commented 1 year ago

It probably should only be a user deletes their account