From 5d31652a5fedac8856901f310104726e5364fc6c Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 6 Oct 2022 08:40:58 +0200 Subject: [PATCH] Use IDs instead of tenant keys --- 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 2ca3c0d..1aa086c 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 keys 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 IDs 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') . $tenantKey`. +The tag is derived from `config('tenancy.cache.tag_base') . $id`.