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

Assuming a male/female table is really mislabelling things, these are both 'people', and a marriage can then be simply construed as a relationship between two (or more!) people.

Their other labels are just attributes stored in fields in the people table.

The simplest solution is actually the most robust. Any specialization adds complexity and rigidity.



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: