Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Start anidb integration

Cette révision appartient à :
PantsuDev 2017-06-07 11:21:04 +10:00
Parent c9c1c70296
révision a5274cc926
Signature inconnue de Forgejo
ID de la clé GPG: C0A42175139840D6
1 fichiers modifiés avec 2 ajouts et 0 suppressions

Voir le fichier

@ -57,6 +57,7 @@ type Torrent struct {
Filesize int64 `gorm:"column:filesize"`
Description string `gorm:"column:description"`
WebsiteLink string `gorm:"column:website_link"`
AnidbID string `gorm:"column:anidb_id"`
Trackers string `gorm:"column:trackers"`
DeletedAt *time.Time
@ -215,6 +216,7 @@ type TorrentJSON struct {
Comments []CommentJSON `json:"comments"`
SubCategory string `json:"sub_category"`
Category string `json:"category"`
AnidbID string `json:"anidb_id"`
Downloads int `json:"downloads"`
UploaderID uint `json:"uploader_id"`
UploaderName template.HTML `json:"uploader_name"`