DEV Community

Mahedi Hasan
Mahedi Hasan

Posted on

1 1

Learn How to Use Soft Delete in Laravel 6

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)

AWS Industries LIVE! Stream

Watch AWS Industries LIVE!

Discover how cloud technology is solving real-world problems on Industries LIVE!

Learn More

👋 Kindness is contagious

Dive into this thoughtful article, cherished within the supportive DEV Community. Coders of every background are encouraged to share and grow our collective expertise.

A genuine "thank you" can brighten someone’s day—drop your appreciation in the comments below!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found value here? A quick thank you to the author makes a big difference.

Okay