mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Qualify where column (#467)
This commit is contained in:
parent
f2a3cf028c
commit
520fa96d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class TenantScope implements Scope
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$builder->where(BelongsToTenant::$tenantIdColumn, tenant()->getTenantKey());
|
$builder->where($model->qualifyColumn(BelongsToTenant::$tenantIdColumn), tenant()->getTenantKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function extend(Builder $builder)
|
public function extend(Builder $builder)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue