← All field notes
Week 7·

The tenant database

The most important week of the spring, and it is only three commits, because the important part was a decision, not a diff. We repointed everything at a tenant database and renamed the schemas to the pattern the whole platform still runs on: shop_people, shop_auth, shop_training.

That shop_ prefix is the entire multi-tenant thesis compressed into an underscore.

"One shop's data" officially became "one tenant's data," and there was no going back.

Shipped

  • Repointed apps at the canonical tenant DB; renamed schemas (people → shop_people, auth → shop_auth) and swept out the last Supabase vestiges
  • Rewired enrollment to the canonical pattern: users.people + shop_people.contacts + shop_training.enrollments
© 2026 Plunkx · Dive Center Operating SystemBook a Demo →