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.
update upgrade pin list
aichy1266b53609cafd5
diff --git a/internal/migrations/v11.go b/internal/migrations/v11.goindex a45509a5..7069d9a8 100644--- a/internal/migrations/v11.go+++ b/internal/migrations/v11.go@@ -22,7 +22,7 @@ func updateRolePinAndHideFeatures(x *xorm.Engine) error {return fmt.Errorf("get config failed: %w", err)}if exist {- if _, err = x.Update(c, &entity.Config{ID: c.ID, Key: c.Key, Value: c.Value}); err != nil {+ if _, err = x.Update(c, &entity.Config{ID: c.ID}); err != nil {log.Errorf("update %+v config failed: %s", c, err)return fmt.Errorf("update config failed: %w", err)}