mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
v2.1.0
This commit is contained in:
parent
1dc9b6c986
commit
d805901b3c
1 changed files with 12 additions and 6 deletions
|
|
@ -98,28 +98,34 @@ Features are similar to bootstrappers, but they are executed regardless of wheth
|
||||||
|
|
||||||
When a user tries to visit a non-tenant route on a tenant domain, the `PreventAccessFromTenantDomains` middleware will return a redirect to this url.
|
When a user tries to visit a non-tenant route on a tenant domain, the `PreventAccessFromTenantDomains` middleware will return a redirect to this url.
|
||||||
|
|
||||||
|
### `queue_database_creation` {#queue-database-creation}
|
||||||
|
|
||||||
|
- Default: `false`
|
||||||
|
|
||||||
### `migrate_after_creation` {#migrate-after-creation}
|
### `migrate_after_creation` {#migrate-after-creation}
|
||||||
|
|
||||||
Run migrations after creating a tenant.
|
Run migrations after creating a tenant.
|
||||||
|
|
||||||
- Default: `false`
|
- Default: `false`
|
||||||
|
|
||||||
### `queue_automatic_migration` {#queue-automatic-migration}
|
### `seed_after_creation` {#seed-after-creation}
|
||||||
|
|
||||||
Whether automatic tenant migrations (if enabled) should be queued.
|
Run seeds after creating a tenant.
|
||||||
|
|
||||||
- Default: `false`
|
- Default: `false`
|
||||||
|
|
||||||
|
### `seeder_parameters` {#seeder_parameters}
|
||||||
|
|
||||||
|
Parameters passed to the `tenants:seed` command.
|
||||||
|
|
||||||
|
- Default: `['--class' => 'DatabaseSeeder']`
|
||||||
|
|
||||||
### `delete_database_after_tenant_deletion` {#delete-database-after-tenant-deletion}
|
### `delete_database_after_tenant_deletion` {#delete-database-after-tenant-deletion}
|
||||||
|
|
||||||
Delete the tenant's database after deleting the tenant.
|
Delete the tenant's database after deleting the tenant.
|
||||||
|
|
||||||
- Default: `false`
|
- Default: `false`
|
||||||
|
|
||||||
### `queue_database_creation` {#queue-database-creation}
|
|
||||||
|
|
||||||
- Default: `false`
|
|
||||||
|
|
||||||
### `queue_database_deletion` {#queue-database-deletion}
|
### `queue_database_deletion` {#queue-database-deletion}
|
||||||
|
|
||||||
- Default: `false`
|
- Default: `false`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue