> I assume that the cascading done on GitHub would be done on a FK constraint, but I'm not really sure how you'd do a "cascading soft delete" without making some kind of manual cascading logic?
Couldn't you just use an on delete trigger for this? I have no experience one the subject however