mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update model relations, update ReleaseNfo model and fix one bug
This commit is contained in:
@@ -66,4 +66,9 @@ class User extends Authenticatable
|
||||
{
|
||||
return $this->hasMany('App\Models\Invitation', 'users_id');
|
||||
}
|
||||
|
||||
public function failedRelease()
|
||||
{
|
||||
return $this->hasMany('App\Models\DnzbFailure', 'users_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user