mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Merge branch 'master' of github.com:stancl/tenancy
This commit is contained in:
commit
e43bd21442
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class RedisStorageDriver implements StorageDriver
|
|||
{
|
||||
$this->redis->pipeline(function ($pipe) use ($tenant) {
|
||||
$this->redis->hmset("tenants:{$tenant->id}", $tenant->data);
|
||||
|
||||
|
||||
foreach ($tenant->domains as $domain) {
|
||||
$this->redis->hmset("domains:$domain", 'tenant_id', $tenant->id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue