logoalt Hacker News

estreeper • 01/18/2025 • 0 replies • view on HN

A nice tradeoff in many cases is to have a separate schema rather than a separate database, which allows preserving referential integrity and using the database’s RBAC to restrict access to the schemas. This also means things like cascading deletes can still work.