How to design this database to avoid cyclic dependency? | Hacker News Reader