fixed relationship
This commit is contained in:
@ -28,4 +28,9 @@ class UserCompany extends Model
|
||||
{
|
||||
return $this->belongsTo('App\Models\Auth\User');
|
||||
}
|
||||
|
||||
public function company()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Common\Company');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user