0103 Sept 2026· 3 min
Multi-tenant scoping in PostgreSQL that survives a rewrite
Every tenant table carries the organisation, every query goes through one layer that puts it there, and a build-time check fails the build if application code ever reaches the database directly. The discipline is the design.
read it