Prova detta
class Training {
public function trainingspeakerdates() {
return $this->hasMany('App\Trainingspeakerdates','training_speaker_id','id')->using('App\TrainingSpeaker');
}
}
Prova detta
class Training {
public function trainingspeakerdates() {
return $this->hasMany('App\Trainingspeakerdates','training_speaker_id','id')->using('App\TrainingSpeaker');
}
}