fix
This commit is contained in:
@@ -13,8 +13,8 @@ type userPO struct {
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||
UUID string `gorm:"type:char(36);uniqueIndex"`
|
||||
Username string `gorm:"index;uniqueIndex"`
|
||||
UUID string `gorm:"type:char(36);index"`
|
||||
Username string `gorm:"index"`
|
||||
Password string
|
||||
NickName string `gorm:"column:nick_name"`
|
||||
HeaderImg string `gorm:"column:header_img"`
|
||||
|
||||
Reference in New Issue
Block a user