Update ban dates

This commit is contained in:
Miguel Nogueira 2020-09-07 23:42:09 +01:00
parent 95bf7c239e
commit 98e557a840
1 changed files with 6 additions and 2 deletions

View File

@ -17,6 +17,10 @@ class Ban extends Model
]; ];
public $dates = [
'bannedUntil'
];
public function user() public function user()
{ {
return $this->belongsTo('App\User', 'userID', 'id'); return $this->belongsTo('App\User', 'userID', 'id');