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:
parent
d57a1042b3
commit
7186afd271
1 changed files with 1 additions and 2 deletions
|
|
@ -148,8 +148,7 @@ class DatabaseConfig
|
||||||
*/
|
*/
|
||||||
public function purgeHostConnection(): void
|
public function purgeHostConnection(): void
|
||||||
{
|
{
|
||||||
$tenantHostConnectionName = $this->getTenantHostConnectionName();
|
DB::purge($this->getTenantHostConnectionName());
|
||||||
DB::purge($tenantHostConnectionName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue