Attachment removed from another model if same attachment attach with same model id; #2706
vinod-digitalcubez
started this conversation in
General
Replies: 1 comment
-
its about you have to learn manyToMany relations in laravel.
and inside your own generator use
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two models with the same ID and I sync the attachment, but when I remove the attachment from one model, it also deletes from another model attachment.
Beta Was this translation helpful? Give feedback.
All reactions