From 884a4dc13c4c1e99f9d1f6d118928fcb81509a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gagn=C3=A9?= Date: Sun, 21 Feb 2021 16:52:16 -0500 Subject: [PATCH] No need to change tenancy.central_connection by default (#109) 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.