mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:54:04 +00:00
Merge branch 'master' into 515-complete
This commit is contained in:
commit
69e4a1ef2a
102 changed files with 1539 additions and 558 deletions
|
|
@ -24,7 +24,7 @@ class CreateDatabase implements ShouldQueue
|
|||
) {
|
||||
}
|
||||
|
||||
public function handle(DatabaseManager $databaseManager)
|
||||
public function handle(DatabaseManager $databaseManager): bool
|
||||
{
|
||||
event(new CreatingDatabase($this->tenant));
|
||||
|
||||
|
|
@ -38,5 +38,7 @@ class CreateDatabase implements ShouldQueue
|
|||
$this->tenant->database()->hostManager()->createDatabase($this->tenant);
|
||||
|
||||
event(new DatabaseCreated($this->tenant));
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue