feat: increase username limit to 255 chars

This commit is contained in:
Yang Luo
2025-03-01 00:44:34 +08:00
parent 3297db688b
commit 41d9422687
27 changed files with 30 additions and 30 deletions

View File

@ -48,7 +48,7 @@ func InitUserManager() {
type User struct {
Owner string `xorm:"varchar(100) notnull pk" json:"owner"`
Name string `xorm:"varchar(100) notnull pk" json:"name"`
Name string `xorm:"varchar(255) notnull pk" json:"name"`
CreatedTime string `xorm:"varchar(100) index" json:"createdTime"`
UpdatedTime string `xorm:"varchar(100)" json:"updatedTime"`
DeletedTime string `xorm:"varchar(100)" json:"deletedTime"`