I have a post table and that post may be included in multiple sections so now I have 3 tables:
If i am not mistaken this is a many-to-many relationship right? and I could just follow laravels roles, role_user, users example and I'll get it working. The problem is my post_section table has an extra is_main field and it determines the main section for my post which I use most of the time. How can I retrieve the is_main in the post_section table?
Thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community