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

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');