fix(user):修复因为更改用户密钥加密方法带来的数据库结构长度不够的问题。
This commit is contained in:
parent
0e09332abd
commit
9e6914c787
|
@ -4,7 +4,7 @@ type User struct {
|
||||||
Created `xorm:"extends"`
|
Created `xorm:"extends"`
|
||||||
Id string `xorm:"varchar(120) pk not null" json:"id"`
|
Id string `xorm:"varchar(120) pk not null" json:"id"`
|
||||||
Username string `xorm:"varchar(30) not null" json:"username"`
|
Username string `xorm:"varchar(30) not null" json:"username"`
|
||||||
Password string `xorm:"varchar(120) not null" json:"-"`
|
Password string `xorm:"varchar(256) not null" json:"-"`
|
||||||
ResetNeeded bool `xorm:"bool not null" json:"resetNeeded"`
|
ResetNeeded bool `xorm:"bool not null" json:"resetNeeded"`
|
||||||
Type int8 `xorm:"smallint not null" json:"type"`
|
Type int8 `xorm:"smallint not null" json:"type"`
|
||||||
Enabled bool `xorm:"bool not null" json:"enabled"`
|
Enabled bool `xorm:"bool not null" json:"enabled"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user