Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

idgaf about consistency dont fucking fuck all the relations

Cette révision appartient à :
Your Name 2017-05-10 05:17:11 +00:00
Parent ccea889c23
révision c5da59234f

Voir le fichier

@ -23,7 +23,7 @@ type User struct {
Liked []User // Don't work `gorm:"foreignkey:follower_id;associationforeignkey:user_id;many2many:user_follows"`
MD5 string `json:"md5"` // Hash of email address, used for Gravatar
Torrents []Torrent `gorm:"ForeignKey:UploaderId"`
Torrents []Torrent `gorm:"ForeignKey:UploaderID"`
}
type PublicUser struct {