mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:14:03 +00:00
Update TenantDatabaseManager
This commit is contained in:
parent
3cf767a348
commit
a38edce0bd
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class TenantDatabaseManagerTest extends TestCase
|
|||
]);
|
||||
tenancy()->initialize($tenant);
|
||||
|
||||
$schemaConfig = config('database.connections.' . config('database.default') . '.search_path') !== null ?
|
||||
$schemaConfig = version_compare(app()->version(), '9.0', '>=') ?
|
||||
config('database.connections.' . config('database.default') . '.search_path') :
|
||||
config('database.connections.' . config('database.default') . '.schema');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue