mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
3.x redesign
This commit is contained in:
parent
857122540f
commit
f8f354c323
229 changed files with 201175 additions and 22440 deletions
|
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
title: Disabling Database Creation
|
||||
description: Disabling Database Creation
|
||||
extends: _layouts.documentation
|
||||
section: content
|
||||
---
|
||||
|
||||
# Disabling Database Creation {#disabling-database-creation}
|
||||
|
||||
DB creation can be disabled for all tenants (`tenancy.create_database` config), or for individual tenants during tenant creation:
|
||||
|
||||
```php
|
||||
Tenant::new()->withData([
|
||||
'_tenancy_create_database' => false,
|
||||
])->save();
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue