Rename song_artist
to artist_song
, then use belongsToMany
.
If you don't want to rename your table, set it manually:
// In Artist
return $this->belongsToMany('Song', 'song_artist');
// In Song
return $this->belongsToMany('Artist', 'song_artist');