This commit is contained in:
2026-08-14 16:34:17 +08:00
parent e0b0e1d8c8
commit f63acae353
53 changed files with 2488 additions and 350 deletions
+2 -2
View File
@@ -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"`