1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 07:04:03 +00:00
This commit is contained in:
Samuel Štancl 2019-07-25 21:55:15 +02:00
parent ea9a30a808
commit ae5527c9a9

View file

@ -331,7 +331,7 @@ The entire application will use a new database connection. The connection will b
## Redis
Connections listed in the `tenancy.redis.prefixed_connections` config array use a prefix based on the `tenancy.redis.prefix_base` and the tenant UUID.
Connections listed in the `tenancy.redis.prefixed_connections` config array use a prefix based on the `tenancy.redis.prefix_base` and the tenant UUID. This separates tenant data. **However note that `Redis::scan()` does not respect the prefix.**
**Note: You *must* use phpredis if you want mutli-tenant Redis. Predis doesn't support prefixes.**