mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 23:54:04 +00:00
WIP DatabaseManager
This commit is contained in:
parent
ab0a40a17e
commit
04b4e0644f
7 changed files with 27 additions and 11 deletions
|
|
@ -97,7 +97,7 @@ class Tenant implements ArrayAccess
|
|||
|
||||
public function getDatabaseName()
|
||||
{
|
||||
return $this['_tenancy_database'] ?? $this->app['config']['tenancy.database.prefix'] . $this->uuid . $this->app['config']['tenancy.database.suffix'];
|
||||
return $this['_tenancy_db_name'] ?? $this->app['config']['tenancy.database.prefix'] . $this->uuid . $this->app['config']['tenancy.database.suffix'];
|
||||
}
|
||||
|
||||
public function __get($name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue