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