'int', 'commentable_id' => 'int' ]; protected $fillable = [ 'user_id', 'guest_name', 'commentable_id', 'commentable_type', 'body' ]; public function commentable() { return $this->morphTo(); } public function user() { return $this->belongsTo(User::class); } }