mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 23:24:03 +00:00
Add note about phpredis
This commit is contained in:
parent
03ee52e62a
commit
998f065338
5 changed files with 8 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ trait BootstrapsTenancy
|
|||
public function bootstrap()
|
||||
{
|
||||
$this->switchDatabaseConnection();
|
||||
if ($this->app['config']['tenancy.redis.multitenant']) {
|
||||
if ($this->app['config']['tenancy.redis.tenancy']) {
|
||||
$this->setPhpRedisPrefix($this->app['config']['tenancy.redis.prefixed_connections']);
|
||||
}
|
||||
$this->tagCache();
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ return [
|
|||
'suffix' => '',
|
||||
],
|
||||
'redis' => [
|
||||
'multitenant' => true,
|
||||
'tenancy' => false,
|
||||
'prefix_base' => 'tenant',
|
||||
'prefixed_connections' => [
|
||||
'default',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue