I want to synchronize some relationships in the user table, and I do not want Laravel to delete the row, I want to do some updates on this row (for example, fill out delete_at) I searched so far, and only the solution I found is to override synchronization method.
So, how can I override the synchronization method to update the string?
Or what other solution for this problem?
EDITED: I know the problem is with the detach method, if I can override the detach It will be solved!
thanks
source share