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

Revert "remove host connection name config key"

This reverts commit 42acb823e8.
This commit is contained in:
Abrar Ahmad 2022-09-15 10:39:30 +05:00
parent 42acb823e8
commit 5674ce4346
2 changed files with 7 additions and 2 deletions

View file

@ -101,9 +101,9 @@ class DatabaseConfig
?? config('tenancy.database.central_connection');
}
public function getTenantHostConnectionName(): string
public function getTenantHostConnectionName(): ?string
{
return 'tenant_host_connection';
return config('tenancy.database.tenant_host_connection_name');
}
/**