Laravel – How to define HasManyThrough relation when the tables dont provide direct relation information?
I am using Laravel 11 and the following structure: users - id artworks - id collections - id collection_user - id - collection_id - user_id artwork_collection - id - artwork_id - collection_id So a User can have multiple Collections, a…