mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
Update RoleExcludedCategories and related models
This commit is contained in:
@@ -28,4 +28,9 @@ class UserRole extends Model
|
||||
{
|
||||
return $this->hasMany('App\Models\User', 'user_roles_id');
|
||||
}
|
||||
|
||||
public function roleExcludedCategory()
|
||||
{
|
||||
return $this->hasMany('App\Models\RoleExcludedCategory', 'user_roles_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user