mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:54:05 +00:00
Update src/Database/DatabaseConfig.php
Co-authored-by: Samuel Štancl <samuel@archte.ch>
This commit is contained in:
parent
d57a1042b3
commit
7186afd271
1 changed files with 1 additions and 2 deletions
|
|
@ -148,8 +148,7 @@ class DatabaseConfig
|
|||
*/
|
||||
public function purgeHostConnection(): void
|
||||
{
|
||||
$tenantHostConnectionName = $this->getTenantHostConnectionName();
|
||||
DB::purge($tenantHostConnectionName);
|
||||
DB::purge($this->getTenantHostConnectionName());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue