Support the ongoing development of Laravel.io →
Database Laravel Eloquent
Last updated 2 years ago.
0

Can you please show your DB structure?

0

My main models are Category, Board, and Pin. Board and Pin both belong to Category and Category has many Boards and Pins. When a board is created, it is assigned a category. When a pin is created it is also assigned a category. Under the category I have a table for each board in that category, with the table rows being the pins.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.