laravel delete 2 tables with relation code example
Example: how delete multiple row from relation in laravel
App\Post;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();
App\Post;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();