From 8bde0a7ecb4515fabf9ad4fab9231dd83046ff7f Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Mon, 10 Oct 2022 16:24:31 +0500 Subject: [PATCH] Update DatabaseConfig.php --- src/Database/DatabaseConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/DatabaseConfig.php b/src/Database/DatabaseConfig.php index 6c41db91..f2072eb9 100644 --- a/src/Database/DatabaseConfig.php +++ b/src/Database/DatabaseConfig.php @@ -203,7 +203,7 @@ class DatabaseConfig // Laravel caches the previous PDO connection, so we purge it to be able to change the connection details $this->purgeHostConnection(); // todo come up with a better name - // Set the host connection configuration array fetched from the tenant's config and manipulated to form a connection + // Create the tenant host connection config $tenantHostConnectionName = $this->getTenantHostConnectionName(); config(["database.connections.{$tenantHostConnectionName}" => $this->hostConnection()]);