diff --git a/assets/config.php b/assets/config.php index 860bc731..b335224d 100644 --- a/assets/config.php +++ b/assets/config.php @@ -39,7 +39,7 @@ return [ * Database tenancy config. Used by DatabaseTenancyBootstrapper. */ 'database' => [ - 'central_connection' => 'central', + 'central_connection' => env('DB_CONNECTION', 'central'), /** * Connection used as a "template" for the tenant database connection.