Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Back In The Day at uni in the early 2000s, we were taught that table names should always be singular, and that's mostly what I've seen in the real world since.

I also think the advice around join table naming is a bit silly. Calling a join table between `cars` and `mechanics` `services` (rather than `cars_mechanics`) does not make the relationship clearer, and only works when the relationships maps to a the real world where the relationship has a commonly used name.

The more I read of this guide, the uglier the SQL is.



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

Search: