Support the ongoing development of Laravel.io →

Kpoew

Joined 14 Mar 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

Model events on deleting not work

I need when deleting a record it will also create a deleted_by value. [company table] | name | creat...

0 Likes
6 Replies
replied 10 years ago

Model events on deleting not work

Thanks ddimaria, But on my question i'm already setup my model to use soft delete, in my model i alr...

0 Likes
replied 10 years ago

how to reset model deleteat_at to ''0000-00-00 00:00:00" ?

try this http://laravel.com/docs/eloquent#timestamps

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.