mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Update custom-database-names.blade.md
This commit is contained in:
parent
87bcc458df
commit
a19af6239f
1 changed files with 2 additions and 2 deletions
|
|
@ -7,9 +7,9 @@ section: content
|
|||
|
||||
# Custom Database Names {#custom-database-names}
|
||||
|
||||
To use a specific database name for a tenant, set the `_tenancy_db_name` key in the tenant's storage.
|
||||
To set a specific database name for a tenant, set the `_tenancy_db_name` key in the tenant's storage.
|
||||
|
||||
You should do this during the tenant creation process, to make sure the database is created with the right name:
|
||||
You should do this during the tenant creation process, to make sure the right database name is used during database creation.
|
||||
|
||||
```php
|
||||
use Stancl\Tenancy\Tenant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue