How To Update Database Records in Laravel Eloquent
In a previous section of this series, you updated an existing Artisan command in order to support the new lists feature. Although there are commands to insert and delete links, the demo application currently doesn’t have a command to edit existing links. This can be useful to move links between lists, for instance, or update a link description. In this guide, you’ll create a new Artisan command to update existing links in the database.