3 ms·
Discriminate tenants by Id in the database? This can go wrong for countless reasons. I would use a separate DB for each tenant.
by DeathArrow 5y ago
Discriminate tenants by Id in the database? This can go wrong for countless reasons. I would use a separate DB for each tenant.
- cerved 5y agoI would tend to agree but maybe it's not a fit for them. I'd say in this case the obvious problem is the comment is associated with a tenant. The comment should be associated with a user which should (probably) be associated with exactly one tenant.