mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
dev day #80
This commit is contained in:
@@ -6,8 +6,11 @@ type UserProfile struct {
|
||||
Points int64 `json:"points" gorm:"default:0;index"`
|
||||
Level int `json:"level" gorm:"default:1"`
|
||||
XP int64 `json:"xp" gorm:"default:0"`
|
||||
Username string `json:"username" gorm:"size:32;uniqueIndex"`
|
||||
AvatarURL string `json:"avatar_url" gorm:"type:varchar(500)"`
|
||||
AnimatedAvatarURL string `json:"animated_avatar_url" gorm:"type:varchar(500)"`
|
||||
AvatarUploadUnlocked bool `json:"avatar_upload_unlocked" gorm:"default:false"`
|
||||
AnimatedAvatarUploadUnlocked bool `json:"animated_avatar_upload_unlocked" gorm:"default:false"`
|
||||
}
|
||||
|
||||
func (UserProfile) TableName() string { return "user_profiles" }
|
||||
|
||||
Reference in New Issue
Block a user