mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 10:54:04 +00:00
remove host connection name config key
This commit is contained in:
parent
e6d703eee4
commit
42acb823e8
2 changed files with 2 additions and 7 deletions
|
|
@ -47,11 +47,6 @@ return [
|
|||
*/
|
||||
'template_tenant_connection' => null,
|
||||
|
||||
/**
|
||||
* Tenant host connection name used to create a temporary connection for creating, deleting database
|
||||
*/
|
||||
'tenant_host_connection_name' => 'tenant_host_connection',
|
||||
|
||||
/**
|
||||
* Tenant database names are created like this:
|
||||
* prefix + tenant_id + suffix.
|
||||
|
|
|
|||
|
|
@ -101,9 +101,9 @@ class DatabaseConfig
|
|||
?? config('tenancy.database.central_connection');
|
||||
}
|
||||
|
||||
public function getTenantHostConnectionName(): ?string
|
||||
public function getTenantHostConnectionName(): string
|
||||
{
|
||||
return config('tenancy.database.tenant_host_connection_name');
|
||||
return 'tenant_host_connection';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue