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:
parent
4041166f3a
commit
8699c8530b
3 changed files with 3 additions and 3 deletions
|
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue