Support the ongoing development of Laravel.io →
erdely

erdely

Joined 7 Nov 2016

Statistics

Threads 6
Replies 6
Solutions 1
Articles 0
posted 9 years ago

Relation between 3 tables?

I have following tables: users (classic laravel table) events user_events in user_events I insert...

0 Likes
2 Replies
Solved
replied 8 years ago

How to restrict the master.blade.php for admin section ?

You need "user auth" https://laravel.com/docs/5.3/authentication

0 Likes
replied 9 years ago

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

You have to define relations also in your migration: https://laravel.com/docs/5.3/migrations#foreign...

0 Likes
Solved
replied 9 years ago

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

I think so: Add to your Student model: public function invoices() { return $this->hasMany...

0 Likes
replied 9 years ago

Prevent multiple signs of same values in table?

@ttimot24 fantastic laravel support, many thanks friend :) $table->unique(array('mytext', 'user_i...

0 Likes
replied 9 years ago

Laravel 1 aplication 2 domains and db's?

I searched for 'config.database' and 'config.database.config', but nothing found, do you mean I can...

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.