From 06d37ed503ab2bec1cafb434bc3761c6d2e7e784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gagn=C3=A9?= Date: Sun, 21 Feb 2021 16:28:08 -0500 Subject: [PATCH] No need to change tenancy.central_connection by default The value of `central_connection` in `config/tenancy.php`: ```php 'central_connection' => env('DB_CONNECTION', 'central'), ``` --- source/docs/v3/installation.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/installation.blade.md b/source/docs/v3/installation.blade.md index 218d58e..f73d3d0 100644 --- a/source/docs/v3/installation.blade.md +++ b/source/docs/v3/installation.blade.md @@ -39,4 +39,4 @@ App\Providers\RouteServiceProvider::class, App\Providers\TenancyServiceProvider::class, // <-- here ``` -And finally, name your central connection (in `config/database.php`) `central` — or however else you want, but make sure it's the same name as the `tenancy.central_connection` config. \ No newline at end of file +And finally, if you want to use a different central database than the one defined by `DB_CONNECTION` in the file `.env`, name your central connection (in `config/database.php`) `central` — or however else you want, but make sure it's the same name as the `tenancy.central_connection` config.