mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34:03 +00:00
Update tenancy-bootstrappers.blade.md
There is an error in the tags option which is written without the final s
This commit is contained in:
parent
d633a5ad23
commit
03af8b481b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ Note that only the **default** connection is switched. If you use another connec
|
|||
The cache tenancy bootstrapper replaces the Laravel's CacheManager instance with a custom CacheManager that adds tags with the current tenant's ids to each cache call. This scopes cache calls and lets you selectively clear tenants' caches:
|
||||
|
||||
```php
|
||||
php artisan cache:clear --tag=tenant_123
|
||||
php artisan cache:clear --tags=tenant_123
|
||||
```
|
||||
|
||||
Note that you must use a cache store that supports tagging, e.g. Redis.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue