1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:34:04 +00:00

Update src/Database/DatabaseConfig.php

Co-authored-by: Samuel Štancl <samuel@archte.ch>
This commit is contained in:
Abrar Ahmad 2022-10-18 17:47:51 +05:00 committed by GitHub
parent d57a1042b3
commit 7186afd271
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,8 +148,7 @@ class DatabaseConfig
*/ */
public function purgeHostConnection(): void public function purgeHostConnection(): void
{ {
$tenantHostConnectionName = $this->getTenantHostConnectionName(); DB::purge($this->getTenantHostConnectionName());
DB::purge($tenantHostConnectionName);
} }
/** /**