Update Notification model

This commit is contained in:
Daniel Supernault 2018-12-21 12:54:27 -07:00
parent abc738a532
commit da68aa1c26
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ class Notification extends Model
*/
protected $dates = ['deleted_at'];
protected $fillable = ['*'];
public function actor()
{
return $this->belongsTo(Profile::class, 'actor_id', 'id');