Hacker News new | ask | show | jobs
by SoftTalker 316 days ago
This is also why I’m a fan of not-null constraints, check constraints, and foreign keys in my database schemas. They make (at least some) invalid states unrepresentable. And they work regardless of the front end application.