Support the ongoing development of Laravel.io →

paucurro

Joined 30 Aug 2016

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

User foreign User table

Hi all I need create user table with foreign. The migration run correctly, but How can define relati...

0 Likes
2 Replies
replied 8 years ago

User foreign User table

Thanks. I tryed public function GetUser(){ return $this->belongsTo(Usuario::class, 'id_usuarios',...

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.