Hacker News new | past | comments | ask | show | jobs | submit login

It can be annoying doing migrations where it turns out your assumptions about FKs were wrong. However, it's absolutely worse to deal with a system where relationships aren't enforced at the schema level. You still end up validating the existence of the related rows, but it happens all over your codebase in an ad hoc manner and you'll still end up with bizarre bugs.



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

Search: