mirror of
https://github.com/archtechx/tenancy.git
synced 2026-06-21 11:44:02 +00:00
Improve code quality and comments
This commit is contained in:
parent
26c161a940
commit
429e0985fd
2 changed files with 4 additions and 7 deletions
|
|
@ -130,11 +130,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
|
|||
|
||||
public function databaseExists(string $name): bool
|
||||
{
|
||||
if ($this->isInMemory($name)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return file_exists($this->getPath($name));
|
||||
return $this->isInMemory($name) || file_exists($this->getPath($name));
|
||||
}
|
||||
|
||||
public function makeConnectionConfig(array $baseConfig, string $databaseName): array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue