How to join 2 tables in laravel voyager and display the column from the other table as a checkbox

Published

I am working on a project in laravel with voyager installed. I have created 2 tables. 1(tour) stores the basic "Tour" info , while the stores its attribute(title) (table name "tour_attribute"). How can I join the two tables so that whenever I go into the tour table panel it will display the "tour_attribute" column ‘title’ as checkbox.
I can explain more details if needed

tours table

tour attribute table

Source: Laravel

Published
Categorised as eloquent, laravel, mysql, voyager Tagged , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq