mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
tag and installer&updater use english
This commit is contained in:
@@ -205,4 +205,9 @@ class Torrent extends NexusModel
|
||||
{
|
||||
$query->where('visible', $visible);
|
||||
}
|
||||
|
||||
public function tags(): \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Tag::class, 'torrent_tags', 'torrent_id', 'tag_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user