Support the ongoing development of Laravel.io →
Snehal Brahmbhatt

Snehal Brahmbhatt

Joined 25 Sep 2018
An Individual Contributor backed up with 10+ years of proven skills in PHP development, successfully tried hands over various frameworks including Laravel.

Statistics

Threads 0
Replies 6
Solutions 0
Articles 0

sb890 has not posted any threads yet

replied 7 years ago

One to many Definition and Foreign Key

You should try this: 1) $table->integer('user_id')->unsigned(); $table->foreign('user_id')-...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.