mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-29 01:14:06 +00:00
minor fixes
This commit is contained in:
@@ -71,4 +71,9 @@ class User extends AbstractModel implements
|
||||
public function passwordReset(): HasMany {
|
||||
return $this->hasMany(PasswordReset::class, 'user_id', 'id');
|
||||
}
|
||||
|
||||
public function tasks()
|
||||
{
|
||||
return $this->morphToMany(Task::class, 'assignee', 'task_assignees', 'assignee_id', 'assignment_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user