In this tutorial i am going to discuss about soft delete in laravel 6. I Will also show you how can we restore our deleted data and can again show it in browser.
When models are soft deleted, they are not actually removed from your database. Instead, a deleted_at attribute is set on the model and inserted into the database. If a model has a non-null deleted_at value, the model has been soft deleted.
https://www.codechief.org/article/learn-how-to-use-soft-delete-in-laravel-6
Top comments (0)