Md. Shafikul Islam
3 min read
Designing a multi-tenant data model with PostgreSQL and Prisma
Shared tables, a tenant id on every row, and the guard rails that stop one customer from ever seeing another's data.
Notes on backend engineering, SaaS architecture and building for the web.
2 posts tagged #architecture Clear
Md. Shafikul Islam
3 min read
Shared tables, a tenant id on every row, and the guard rails that stop one customer from ever seeing another's data.
Md. Shafikul Islam
2 min read
Model permissions as scopes, group them into roles, and check them in one place — a structure that survives the tenth new feature.