feat: Support sha512 password encryption algorithm (#2657)

* add sha512 encryption support for password

* fead: add sha512 encryption support for password
This commit is contained in:
dacongda
2024-01-31 00:06:06 +08:00
committed by GitHub
parent ef373ca736
commit 523186f895
7 changed files with 57 additions and 5 deletions

View File

@ -43,7 +43,7 @@ type Syncer struct {
Host string `xorm:"varchar(100)" json:"host"`
Port int `json:"port"`
User string `xorm:"varchar(100)" json:"user"`
Password string `xorm:"varchar(100)" json:"password"`
Password string `xorm:"varchar(150)" json:"password"`
Database string `xorm:"varchar(100)" json:"database"`
Table string `xorm:"varchar(100)" json:"table"`
TableColumns []*TableColumn `xorm:"mediumtext" json:"tableColumns"`