Hello
I have a table like
$table->integer ('participant_left_id')->unsigned ()->nullable ();
$table->foreign ('participant_left_id')->references ('id')->on ('participants');
$table->integer ('participant_right_id')->unsigned ()->nullable ();
$table->foreign ('participant_right_id')->references ('id')->on ('participants');
How can i define in the model the correct relationship to access the participant properties?
Thanks for your help.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community