Multi-tenancy implementation with Postgres: It's simpler than you imagine
blog.logto.io
blog.logto.io
Then you don't have to remember to always pass the tenant_id to queries, and it allows you to upgrade tenants independently.
On the other hand you'll end up with a lot of tables, so probably not a good fit if you have very many light tenants.