1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

Update note about predis

This commit is contained in:
Samuel Štancl 2019-07-03 15:41:15 +02:00 committed by GitHub
parent 1b6759084f
commit a2ac7a25c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,11 @@ config('tenancy.redis.prefix_base') . $uuid
These changes will only apply for connections listed in `prefixed_connections`.
> **Note: *If you want Redis to be multi-tenant, you <u>must</u> use phpredis. Predis does not support prefixes.***
You can enable Redis tenancy by changing the `tenancy.redis.tenancy` config to `true`.
**Note: If you want Redis to be multi-tenant, you *must* use phpredis. Predis does not support prefixes.**
If you're using Laravel 5.7, predis is not supported even if Redis tenancy is disabled.
#### `cache`