From 1f9c441877d4b1fb63f0d8ce2b18e8b34e9e40ca Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 5 Oct 2022 17:14:04 +0200 Subject: [PATCH] Change ID to tenant key --- source/docs/v3/console-commands.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/console-commands.blade.md b/source/docs/v3/console-commands.blade.md index a89fbed..c23f7d8 100644 --- a/source/docs/v3/console-commands.blade.md +++ b/source/docs/v3/console-commands.blade.md @@ -9,7 +9,7 @@ section: content The package comes with some useful artisan commands. -Tenant-aware commands run for all tenants by default. The commands also have the `--tenants` option which lets you specify IDs of the tenants for which the command will run. +Tenant-aware commands run for all tenants by default. The commands also have the `--tenants` option which lets you specify keys of the tenants for which the command will run. > Note: To include multiple tenants using CLI, you can use multiple `--tenants=<...>` options. If you're calling the command using `Artisan::call()`, `--tenants` has to be an array. @@ -79,4 +79,4 @@ You can delete specific tenants' cache by using the `--tags` option on `cache php artisan cache:clear --tags=tenantdbe0b330-1a6e-11e9-b4c3-354da4b4f339 ``` -The tag is derived from `config('tenancy.cache.tag_base') . $id`. +The tag is derived from `config('tenancy.cache.tag_base') . $tenantKey`.