belongsTo(User::class, 'uid'); } public function torrent() { return $this->belongsTo(Torrent::class, 'torrent_id'); } }