Update model relations, update ReleaseNfo model and fix one bug

This commit is contained in:
DariusIII
2017-10-09 15:59:24 +02:00
parent c05f0e4f81
commit b542914fab
19 changed files with 148 additions and 198 deletions
+5
View File
@@ -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');
}
}