You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
paranoid is not working with underscored option #10565
My team is also experiencing the issue and we've done a workaround by creating a base model that all of our paranoid delete models extend. In that base model we added a hook for afterDestroy that simply renames the deleted_at field to deletedAt.
Activity
sushantdhiman commentedon Mar 18, 2019
Seems to work ok
keepcosmos commentedon Mar 18, 2019
@sushantdhiman Right, it actually deleted.
But the point is,
after deleted,
deleted_atcolumn value is not assign todeletedAtproperty.delete_atis assigned todataValuesmalditogeek commentedon Mar 26, 2019
Experiencing this as well on
5.1.1KristenKatona commentedon Mar 26, 2019
My team is also experiencing the issue and we've done a workaround by creating a base model that all of our paranoid delete models extend. In that base model we added a hook for afterDestroy that simply renames the deleted_at field to deletedAt.
papb commentedon Aug 20, 2019
Closing in favor of #11225