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

add purge call

This commit is contained in:
Samuel Štancl 2022-11-21 14:38:24 +01:00 committed by GitHub
parent 5f51b1bcc0
commit fcf07e99db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ class CreateTenantConnection
/** @var TenantWithDatabase $tenant */
$tenant = $event->tenancy->tenant;
$this->database->purgeTenantConnection();
$this->database->createTenantConnection($tenant);
}
}