Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> I assume that the cascading done on GitHub would be done on a FK constraint

GitHub doesn’t use foreign keys, the cascade delete must have been manually implemented.

https://hackernews.hn/item?id=21486494



That it took a half hour to do all the pointless activity says something.


They use Rails, right? It's probably a cascade delete but done on the application, Rails makes that very easy.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: