Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
If you have multiple media fields, then the sync would drop some records quite randomly because the unicity was made on the media id and not media_id + role
This PR superseedes #2625 and fixes the issue in a more generic manner using the primary key of the record (laravel is normally built so that pivots don't need/use primary keys hence the issue)
If you have multiple media fields, then the sync would drop some records quite randomly because the unicity was made on the media id and not media_id + role
This PR superseedes #2625 and fixes the issue in a more generic manner using the primary key of the record (laravel is normally built so that pivots don't need/use primary keys hence the issue)