Fix https://github.com/go-gitea/gitea/issues/21086#issuecomment-1476560381 Related to #21721
setting.Database.UseXXX