Forty single-tenant environments consolidated into one
A growing platform kept losing enterprise deals at security review — no SSO, no granular roles, no audit log. Worse, each customer had their own database and deployment, so every release was a manual exercise repeated forty times over three days.
Moved to a shared multi-tenant model with row-level isolation enforced in PostgreSQL, added SAML and SCIM, built a role editor their customers' own admins operate, and put an immutable audit log behind every state change. The final two months were spent pairing with their engineers so they owned it before we left.