This commit is contained in:
wangchuxiao
2022-08-12 19:13:08 +08:00
parent a48b2e9edb
commit 9b130ae56c
5 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ func (AppVersion) TableName() string {
}
type RegisterAddFriend struct {
UserID string `gorm:"column:user_id;size:64"`
UserID string `gorm:"column:user_id;primary_key;size:64"`
}
func (RegisterAddFriend) TableName() string {