1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:44:03 +00:00

Remove defaulting to 'default' DB connection

This commit is contained in:
Samuel Štancl 2019-08-18 23:25:10 +02:00
parent b12b9c3a54
commit e41a469510

View file

@ -30,7 +30,7 @@ class Tenant extends Model
public function getConnectionName() public function getConnectionName()
{ {
return config('tenancy.storage.db.connection') ?: config('database.default'); return config('tenancy.storage.db.connection');
} }
public static function getAllTenants(array $uuids) public static function getAllTenants(array $uuids)