From fe84b4186f8844cbcf672a29f5f718b45ca1bcdb Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 6 Oct 2022 11:36:41 +0200 Subject: [PATCH] Minor console commands docs improvements (#215) * Make `Tenant list` `List` for consistency, add description to List command * Change ID to tenant key * Update migrate command description * Use IDs instead of tenant keys --- source/docs/v3/console-commands.blade.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/console-commands.blade.md b/source/docs/v3/console-commands.blade.md index e330ad0..1aa086c 100644 --- a/source/docs/v3/console-commands.blade.md +++ b/source/docs/v3/console-commands.blade.md @@ -15,7 +15,7 @@ Tenant-aware commands run for all tenants by default. The commands also have the ## **Migrate** (tenant-aware) {#migrate} -`tenants:migrate` is the most important command. To use tenants, you have to be able to migrate their databases. +The `tenants:migrate` command migrates databases of your tenants. ``` php artisan tenants:migrate --tenants=8075a580-1cb8-11e9-8822-49c5d8f8ff23 @@ -60,7 +60,9 @@ Artisan::call('tenants:run', [ '--argument' => ['body=We have launched a new feature.'] // Array ]) ``` -## **Tenant list** {#tenant-list} +## **List** {#list} + +The `tenants:list` command lists all existing tenants. ``` php artisan tenants:list