mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-08 04:00:14 -05:00
refactor: drop unused genre_torrent table
This commit is contained in:
@@ -128,14 +128,6 @@ class Torrent extends Model
|
||||
return $this->belongsToMany(Playlist::class, 'playlist_torrents')->using(PlaylistTorrent::class)->withPivot('id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Has Many Genres.
|
||||
*/
|
||||
public function genres(): \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Genre::class, 'genre_torrent', 'torrent_id', 'genre_id', 'id', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Torrent Has Been Moderated By.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user