Hacker News new | ask | show | jobs
by dalyons 1860 days ago
Foreign key constraints are a waste of effort for most at-scale web apps. They guard against a subset of problems that aren’t actually problems (orphaned rows) at a putative cost (for the db)