Skip to content

Commit

Permalink
Merge pull request #200 from actiontech/issue198
Browse files Browse the repository at this point in the history
modify: change type of third_party_user_info in storage
  • Loading branch information
LordofAvernus authored Mar 5, 2024
2 parents 24acf6d + 4ad0c5c commit e5c6c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/dms/storage/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ type SqlQueryConfig struct {
type User struct {
Model
Name string `json:"name" gorm:"size:200;column:name"`
ThirdPartyUserID string `json:"third_party_user_id" gorm:"size:255;third_party_user_id;column:third_party_user_id"` // used to retrieve sqle user based on third-party user ID
ThirdPartyUserInfo string `json:"third_party_user_info" gorm:"size:255;third_party_user_info;column:third_party_user_info"` // used to save original third-party user information
ThirdPartyUserID string `json:"third_party_user_id" gorm:"size:255;column:third_party_user_id"` // used to retrieve sqle user based on third-party user ID
ThirdPartyUserInfo string `json:"third_party_user_info" gorm:"type:text;column:third_party_user_info"` // used to save original third-party user information
Email string `json:"email" gorm:"size:255;column:email"`
Phone string `json:"phone" gorm:"size:255;column:phone"`
WeChatID string `json:"wechat_id" gorm:"size:255;column:wechat_id"`
Expand Down

0 comments on commit e5c6c66

Please sign in to comment.