Courses

How to Structure Databases in Laravel

Recursive Parent-Children - Part 1: Unlimited Subcategories

Previous: Custom Fields. EAV: Entity-Attribute-Value Model
avatar

who the migration file looks like on recursive parent-children relation ?

avatar

Well, the main foreign key is $table->foreign_id('category_id')->constrained(); probably.

avatar
You can use Markdown
avatar
You can use Markdown