Advanced Multitenancy
To configure multitenancy in YFlite, set the configuration parameter:
'app' => [
'multitenancy' => true
]
Isolation Strategies
- Database-per-tenant: Each tenant gets their own DB configuration.
- Single DB with Tenant ID: Shared tables scoped by
tenant_id.