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