mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 11:54:04 +00:00
Rewrite old tests
This commit is contained in:
parent
64383b4c56
commit
89936187ce
71 changed files with 698 additions and 3203 deletions
|
|
@ -27,7 +27,8 @@ class CreateDatabase implements ShouldQueue
|
|||
|
||||
public function handle()
|
||||
{
|
||||
if ($this->tenant->getAttribute('_tenancy_create_database') !== false) {
|
||||
if ($this->tenant->getInternal('create_database') !== false) {
|
||||
$this->tenant->database()->makeCredentials();
|
||||
$this->tenant->database()->manager()->createDatabase($this->tenant);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue