How To Delete Database Records in Laravel Eloquent
In Eloquent, you can delete database records conveniently with the delete method from the parent Model class. In the last part of this series, you’ll create a new command to delete lists. For simplicity, any links associated with the list to be deleted will be reassigned to the default link list.