mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:34:05 +00:00
Fix username generation
This commit is contained in:
parent
df850ed280
commit
c285f1faf4
1 changed files with 1 additions and 1 deletions
|
|
@ -36,8 +36,8 @@ class CreateDatabase implements ShouldQueue
|
|||
return false;
|
||||
}
|
||||
|
||||
$databaseManager->ensureTenantCanBeCreated($this->tenant);
|
||||
$this->tenant->database()->makeCredentials();
|
||||
$databaseManager->ensureTenantCanBeCreated($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