From 74661a135fc1001cc133e39a0c78ca5cf5f5b0a0 Mon Sep 17 00:00:00 2001 From: LinkinStars Date: Tue, 6 Jun 2023 14:43:28 +0800 Subject: [PATCH] fix(migrations): upgrade question table struct first --- internal/migrations/v13.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {