Insights / Tag
#multi-tenancy
Engineering · Illustrative scenario
Postgres NULL uniqueness: define the missing-key rule
Choose whether an absent locale is an unknown draft or the one tenant default, then carry that meaning through duplicate resolution, unique enforcement and upsert behavior.
SaaS Architecture
Postgres row-level security for multi-tenant SaaS
RLS works when the role, the tenant setting and the connection pool all cooperate. Here is how to check each one.