これを試してください
class Training {
public function trainingspeakerdates() {
return $this->hasMany('App\Trainingspeakerdates','training_speaker_id','id')->using('App\TrainingSpeaker');
}
}
これを試してください
class Training {
public function trainingspeakerdates() {
return $this->hasMany('App\Trainingspeakerdates','training_speaker_id','id')->using('App\TrainingSpeaker');
}
}