Support the ongoing development of Laravel.io →

voidrohan

Joined 22 Dec 2016

Statistics

Threads 2
Replies 2
Solutions 0
Articles 0

I want multiple gulpfile.js for role based Authentication

Hi, I have a site where the students can visit and check the site/login to view marks/individual inv...

0 Likes
0 Replies
posted 7 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

How would I achieve this? I am confused weather to use onetomany, hasmany, belongsto? Help me out.

0 Likes
4 Replies
Solved
replied 7 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

erdely said: You have to define relations also in your migration: https://laravel.com/docs/5.3/migr...

0 Likes
replied 7 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

Yes @erdely I've done that already, I am guessing I am messing up on the tables somehow. Could you a...

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.

© 2024 Laravel.io - All rights reserved.