MySQL Database Design
Episode 2 - Primary and Foreign Keys
Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or
to your account and sit back.
If a primary key is a unique identifier for a record within a table, then a foreign key is a reference to a primary key on a foreign table.
Published on Jul 29th, 2019.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!