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

You're correct it was intended to be foreign keys, correctly updated now.

I believe the difference would be on the constraint. A primary key is intended to be unique, where as an index does not alway carry that constraint.



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

Search: