1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 02:54:06 +00:00

Move separate_by to database

This commit is contained in:
Samuel Štancl 2019-12-09 14:43:42 +01:00
parent 4041166f3a
commit 8699c8530b
3 changed files with 3 additions and 3 deletions

View file

@ -248,7 +248,7 @@ class DatabaseManager
public function separateBy(string $connectionName): string
{
if ($this->getDriver($this->getBaseConnection($connectionName)) === 'pgsql'
&& $this->app['config']['tenancy.separate_by'] === 'schema') {
&& $this->app['config']['tenancy.database.separate_by'] === 'schema') {
return 'schema';
}