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:
parent
780a8f8519
commit
e5cf5c0f82
5 changed files with 32 additions and 35 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue