feat: make phone field longer to 100

This commit is contained in:
Yang Luo
2024-01-30 19:06:18 +08:00
parent 540f22f8bd
commit 8b1c4b0c75
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ type User struct {
PermanentAvatar string `xorm:"varchar(500)" json:"permanentAvatar"`
Email string `xorm:"varchar(100) index" json:"email"`
EmailVerified bool `json:"emailVerified"`
Phone string `xorm:"varchar(20) index" json:"phone"`
Phone string `xorm:"varchar(100) index" json:"phone"`
CountryCode string `xorm:"varchar(6)" json:"countryCode"`
Region string `xorm:"varchar(100)" json:"region"`
Location string `xorm:"varchar(100)" json:"location"`