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

Could you explain that “two tables” issue again? I’m trying to think of a way that DB constraints (I’m using Postgres, fwiw) couldn’t handle denormalization, but imo there’s a constraint for everything. Force a 1:1 relationship, or add a check constraint so you literally cannot denormalize.


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

Search: