Solving global and local records in SaaS database design | Hacker News Reader