1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 23:24:03 +00:00

add back using statement

This commit is contained in:
Abrar Ahmad 2022-11-30 13:36:36 +05:00
parent b99fcc28fd
commit 1a67300615

View file

@ -826,7 +826,8 @@ class ResourceTenant extends Tenant
{
public function users(): BelongsToMany
{
return $this->belongsToMany(CentralUser::class, 'tenant_users', 'tenant_id', 'global_user_id', 'id', 'global_id');
return $this->belongsToMany(CentralUser::class, 'tenant_users', 'tenant_id', 'global_user_id', 'id', 'global_id')
->using(TenantPivot::class);
}
}