morphTo(); } public function children() { return $this->hasMany(Comment::class, 'sub_comment_id'); } public function approved_children() { return $this->hasMany(Comment::class, 'sub_comment_id')->where('status', 1); } }