mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
1.x -> 2.x upgrade guide
This commit is contained in:
parent
6add596ce8
commit
116cb045be
6 changed files with 77 additions and 9 deletions
10
docs/source/v2/custom-db-connections.blade.md
Normal file
10
docs/source/v2/custom-db-connections.blade.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Custom Database Connections
|
||||
description: Custom Database Connections
|
||||
extends: _layouts.documentation
|
||||
section: content
|
||||
---
|
||||
|
||||
# Custom Database Connections {#custom-database-names}
|
||||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue