1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 09:54:03 +00:00

replace hostManager with manager

This commit is contained in:
Abrar Ahmad 2022-10-26 12:41:40 +05:00
parent 780a8f8519
commit e5cf5c0f82
5 changed files with 32 additions and 35 deletions

View file

@ -35,7 +35,7 @@ class CreateDatabase implements ShouldQueue
$this->tenant->database()->makeCredentials();
$databaseManager->ensureTenantCanBeCreated($this->tenant);
$this->tenant->database()->hostManager()->createDatabase($this->tenant);
$this->tenant->database()->manager()->createDatabase($this->tenant);
event(new DatabaseCreated($this->tenant));