Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(migrations): upgrade question table struct first

LinkinStars74661a135fc1
diff --git a/internal/migrations/v13.go b/internal/migrations/v13.go
index e43222f5..3576abb2 100644
--- a/internal/migrations/v13.go
+++ b/internal/migrations/v13.go
@@ -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 {