mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:04:04 +00:00
Remove defaulting to 'default' DB connection
This commit is contained in:
parent
b12b9c3a54
commit
e41a469510
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class Tenant extends Model
|
|||
|
||||
public function getConnectionName()
|
||||
{
|
||||
return config('tenancy.storage.db.connection') ?: config('database.default');
|
||||
return config('tenancy.storage.db.connection');
|
||||
}
|
||||
|
||||
public static function getAllTenants(array $uuids)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue