How do I maintain referential integrity? | Hacker News Reader