Support the ongoing development of Laravel.io →
Database Eloquent Packages
Last updated 2 years ago.
0

Soft deletes don't delete the related tables. It just adds a timestamp to your deleted_at column. Try showing us your code. What does your User model look like?

0

soft-delete don't run on related models, just can use dettach find id on the model and dettach de FK.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jonitopsg jonitopsg Joined 18 Jun 2014

Moderators

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.