News for hackers. Stuff that matters.
Re:Database Design Mistakes by losvedir on Saturday July 20, 2013 @08:48PM (#6077252)
Wow, I can't fathom how this works. Where do you store the relationship, then? Say you have posts and comments. I would want a posts table and a comments table, with a post_id foreign key in comments. How would you do it without a foreign key?
Re:Database Design Mistakes by chris_wot on Sunday July 21, 2013 @01:57AM (#6077988)
He still has the key field, but doesn't add the constraint.