mirror of https://gitee.com/answerdev/answer.git
fix(migrations): upgrade question table struct first
This commit is contained in:
parent
1a3c34b267
commit
74661a135f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue