Curator Plugin: What's required for a n:m-migration?
Hi,
I just installed the Curator Plugin of @awcodes and I'm wondering what's the schema of a many-to-many migration? I can't find it within the docs and I am receiving the 3rd exception now, that a column is missing.
10 Replies
What is the actual error?
It’s a standard many to many setup. You don’t need to do anything specific. You would just need a pivot table and your other model table.
I'm getting exceptions of missing columns in my pivot migration
Share the error. Otherwise we are just guessing
When I add title it‘s missing alt, if I add this, something else is missing. That‘s why: Is there a stub for n:m migrations?
And can I upload mulitple media at once?
did you run the install command? sounds like your missing the media table.
or didn't migrate it.
You can upload multiple media by setting using the 'multiple()' modifier on the CuratorPicker field component.
but you can't upload multiple in the context of the Media resource.
The media table is present, medium_product wasn‘t so I created it with 2 FKs
Thanks!
here's the demo app i use for testing. maybe compare your setup to what in https://github.com/awcodes/curator-demo
GitHub
GitHub - awcodes/curator-demo
Contribute to awcodes/curator-demo development by creating an account on GitHub.
merci!
For the future please share the Flare exception link as mentioned in #✅┊rules
I‘ll 🤝
e.g. #Undefined array key "large_url"
One of these exceptions I receive frequently