Why uploading file in orchidsoftware/platform no data is inserted in attachmentable table? #2417
Unanswered
sergeynilov
asked this question in
Q&A
Replies: 0 comments
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.
-
Reading orchidsoftware/platform docs at https://orchid.software/en/docs/quickstart-files/#docs
I try to upload image and attach it to my model.
I my screen.php file I have Upload defined :
As result rows into uploadeds and attachments are added and image is uploaded into /storage/app/2022/10/30 subdirectory,
but no row is added into attachmentable table. I also check all requests in telescope log lines.
My model app/Models/Uploaded.php has all traits I need :
I tried to debug file src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php :
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions