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

I mean this particular problem would be resolved if the database let you define/defend a UNIQUE constraint across tables. Then you could just do approach #2 without the psychotic check constraint.


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

Search: