Laravel Daily - How to Structure Databases in Laravel
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 20 Lessons (2h 8m) | Size: 2.34 GB
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 20 Lessons (2h 8m) | Size: 2.34 GB
Relationships, Performance Optimization, Practical Examples
Structuring a Database is one of the biggest struggles I've seen when starting a new project.
There are questions like:
Should it be a belongsTo or belongsToMany relationship?
Maybe I use polymorphic relationships?
Should I have one large table with 20 columns or divide that into multiple smaller ones?
What would be the query performance for structure X?
etc.