Skip to content

Commit

Permalink
🐛 fix: edite user failed (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartialBE committed Apr 15, 2024
1 parent 2b17c98 commit bbaa4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type User struct {
AffCode string `json:"aff_code" gorm:"type:varchar(32);column:aff_code;uniqueIndex"`
InviterId int `json:"inviter_id" gorm:"type:int;column:inviter_id;index"`
CreatedTime int64 `json:"created_time" gorm:"bigint"`
DeletedAt gorm.DeletedAt `gorm:"index"`
DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
}

type UserUpdates func(*User)
Expand Down

0 comments on commit bbaa4ee

Please sign in to comment.