1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 22:34:05 +00:00

Fix connection config template array_merge parameter order

This commit is contained in:
Sergio Parejo 2023-11-15 15:13:19 +01:00
parent 85c7465aca
commit c49e9b7e39

View file

@ -113,7 +113,7 @@ class DatabaseConfig
$templateConnection = config("database.connections.{$template}");
return $this->manager()->makeConnectionConfig(
array_merge($templateConnection, $this->tenantConfig()), $this->getName()
array_merge($this->tenantConfig(), $templateConnection), $this->getName()
);
}