Table-level multitenancy keeps multiple tenants’ records in shared tables and separates them with a column such as tenant_id. It shares database resources, but queries and access controls must preserve each tenant’s data isolation. section 2.1.1
Shared merchant tables
A brewery and a coffee chain could use the same tables, with each row carrying its merchant’s tenant_id. The example contrasts this arrangement with dedicated databases, where each merchant receives a separate database object and access is controlled through roles and permissions. section 2.1.1
