Skip to content
Note 08#backend

Retrofitting tenancy onto a live compliance product is not a weekend

Hood Cleaning Report had workspaces, roles and soft deletes in the schema before the first customer, which felt like over-building at the time. It was the cheapest decision in the project. Tenancy touches every query, and adding it later means touching every query while people are relying on the answers.

Related notes

  1. 07Encrypt third-party tokens even when the database is private
  2. 05Render PDFs as HTML, not coordinates
  3. 06The audit log matters more than the share link