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

Updated comment

This commit is contained in:
Samuel Štancl 2019-08-17 10:03:41 +02:00
parent 6028e70b98
commit 7bcad47186

View file

@ -94,7 +94,7 @@ final class DatabaseManager
public function createTenantConnection(string $database_name)
{
// Create the `tenancy` database connection.
// Create the `tenant` database connection.
$based_on = config('tenancy.database.based_on') ?: config('database.default');
config()->set([
'database.connections.tenant' => config('database.connections.' . $based_on),