Merge pull request #6 from drbyte/patch-4

Update console-commands.blade.md
This commit is contained in:
Samuel Štancl 2019-09-23 23:17:21 +02:00 committed by GitHub
commit a1317ae612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ Similarly to [migrate](#migrate), these commands accept a `--tenants` option.
## Run {#run} ## Run {#run}
You can use the tenants:run command to run your own commands for tenants. You can use the `tenants:run` command to run your own commands for tenants.
If your command's signature were `email:send {--queue} {--subject=} {body}`, you would run this command like this: If your command's signature were `email:send {--queue} {--subject=} {body}`, you would run this command like this:
``` ```
@ -61,4 +61,4 @@ You can delete specific tenants' cache by using the `--tags` option on `cache:cl
php artisan cache:clear --tags=tenantdbe0b330-1a6e-11e9-b4c3-354da4b4f339 php artisan cache:clear --tags=tenantdbe0b330-1a6e-11e9-b4c3-354da4b4f339
``` ```
The tag is `config('tenancy.cache.tag_base') . $id`. The tag is derived from `config('tenancy.cache.tag_base') . $id`.