mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-18 03:44:03 +00:00
fix #854
This commit is contained in:
parent
065b029f48
commit
24146b26e2
7 changed files with 17 additions and 13 deletions
|
|
@ -17,7 +17,7 @@ class TenantScope implements Scope
|
|||
return;
|
||||
}
|
||||
|
||||
$builder->where($model->qualifyColumn(BelongsToTenant::$tenantIdColumn), tenant()->getTenantKey());
|
||||
$builder->where($model->qualifyColumn(config('tenancy.single_db.tenant_id_column')), tenant()->getTenantKey());
|
||||
}
|
||||
|
||||
public function extend(Builder $builder): void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue