Laravel Foreign Key Migrations: Bugs to Avoid and Syntax To Know
I see various bugs and problems people face with foreign key migrations, so I decided to talk about different syntax options and things to know.
Read more in the docs: #foreign-key-constraints
(but also always check which Laravel version of the docs or tutorials you’re reading!)
- - - - -
Try our Laravel QuickAdminPanel:
Enroll in my Laravel courses:
7 views
196
48
7 months ago 00:08:53 1
Eloquent Where ENUM vs Int Foreign Key: Speed Benchmark