update
This commit is contained in:
@ -11,6 +11,8 @@ type User struct {
|
||||
Email string `gorm:"column:email;size:191;uniqueIndex" json:"email"`
|
||||
PasswordHash string `gorm:"column:password_hash;size:255" json:"-"`
|
||||
IsDeleted uint8 `gorm:"column:is_deleted" json:"is_deleted"`
|
||||
// Tier 用户等级:free(普通/未登录)/ vip(高级/VIP)。详情页据其决定返回普通还是高清图。
|
||||
Tier string `gorm:"column:tier;size:16" json:"tier"`
|
||||
}
|
||||
|
||||
// TableName 指定表名。
|
||||
|
||||
Reference in New Issue
Block a user