dimanche 28 octobre 2018

How to soft delete data automatically after 35 days in laravel 5.6?

I have a table death_notice and notice_time. In notice_time table, there is a column named notice_duration and 35 is stored there which means that the death notice is displayed for 35 days in the website.

Now, I want to soft delete the data that crossed 35 days automatically in laravel 5.6. How can i do that?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire