1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Fix order by parameter (#19849)

Upgrade builder to v0.3.11
Upgrade xorm to v1.3.1 and fixed some hidden bugs.

Replace #19821
Replace #19834
Included #19850

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
Lunny Xiao
2022-06-05 03:18:50 +08:00
committed by GitHub
parent 449ea6005f
commit 12c742f8dc
19 changed files with 175 additions and 72 deletions

View File

@@ -23,7 +23,8 @@ func migrateUserPasswordSalt(x *xorm.Engine) error {
},
Length: 32,
// MySQL will like us again.
Nullable: true,
Nullable: true,
DefaultIsEmpty: true,
}); err != nil {
return err
}
@@ -33,7 +34,8 @@ func migrateUserPasswordSalt(x *xorm.Engine) error {
SQLType: schemas.SQLType{
Name: "VARCHAR",
},
Length: 32,
Nullable: true,
Length: 32,
Nullable: true,
DefaultIsEmpty: true,
})
}