mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update user_excluded_categories
This commit is contained in:
+6
-14
@@ -22,20 +22,7 @@ class User extends Authenticatable
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'username',
|
||||
'password',
|
||||
'email',
|
||||
'user_roles_id',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'host',
|
||||
'rsstoken',
|
||||
'invites',
|
||||
'invitedby',
|
||||
'userseed',
|
||||
'notes',
|
||||
];
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
@@ -71,4 +58,9 @@ class User extends Authenticatable
|
||||
{
|
||||
return $this->hasMany('App\Models\DnzbFailure', 'users_id');
|
||||
}
|
||||
|
||||
public function excludedCategory()
|
||||
{
|
||||
return $this->hasMany('App\Models\UserExcludedCategory', 'users_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user