Also, I'm curious why the account has to have the username changed, then all of this deletion/changing happen. It seems like we can delete all the
notices (Notices::delete(), all the rows in all the other tables
(File_to_post::delete() Subscription::delete(), etc), then delete the row
from the user table (just like how a SQL cascade would work).
Actually, we do neither of those, I don't think.
At no point do we delete the User row.

We just leave in a stub account called "deleteduser###".
This account may or may not have notices in it.
Among other things it is linked to whenever anyone follows a link to that old account. (Like, if they clicked the "@thatUserWhoDeletesTheirAccount" in some old notice.)

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to