fix(migrations): upgrade question table struct first

This commit is contained in:
LinkinStars 2023-06-06 14:43:28 +08:00
parent 1a3c34b267
commit 74661a135f
1 changed files with 1 additions and 1 deletions

View File

@ -15,13 +15,13 @@ import (
func updateCount(x *xorm.Engine) error {
fns := []func(*xorm.Engine) error{
inviteAnswer,
addPrivilegeForInviteSomeoneToAnswer,
addGravatarBaseURL,
updateQuestionCount,
updateTagCount,
updateUserQuestionCount,
updateUserAnswerCount,
inviteAnswer,
inBoxData,
}
for _, fn := range fns {