mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
463 B
463 B
| title | description | extends | section |
|---|---|---|---|
| Custom Database Connections | Custom Database Connections | _layouts.documentation | content |
Custom Database Connections
To set a specific database connection for a tenant, set the _tenancy_db_connection key in the tenant's storage. The connection's database name will be still replaced by the tenant's database name. You can [customize that]({{ $page->link('custom-database-names') }}) too.