summaryrefslogtreecommitdiffstats
path: root/models/migrations/v224.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-08-22 14:32:28 +0100
committerGitHub <noreply@github.com>2022-08-22 14:32:28 +0100
commit9d6a2034bcf0f62dadb51cfe1471632eaa52e36c (patch)
tree8157ec8bb4cc08d98ca9ce66b2bc998cefabb99f /models/migrations/v224.go
parentaedfc923addcb7aa013f96474e942951e3fda74c (diff)
downloadgitea-9d6a2034bcf0f62dadb51cfe1471632eaa52e36c.tar.gz
gitea-9d6a2034bcf0f62dadb51cfe1471632eaa52e36c.zip
Increase Content field size of gpg_key and public_key to MEDIUMTEXT (#20896)
Unfortunately some keys are too big to fix within the 65535 limit of TEXT on MySQL this causes issues with these large keys. Therefore increase these fields to MEDIUMTEXT. Fix #20894 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/migrations/v224.go')
-rw-r--r--models/migrations/v224.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v224.go b/models/migrations/v224.go
index d684d538df..2ed161ef4d 100644
--- a/models/migrations/v224.go
+++ b/models/migrations/v224.go
@@ -8,7 +8,7 @@ import (
"xorm.io/xorm"
)
-func creatUserBadgesTable(x *xorm.Engine) error {
+func createUserBadgesTable(x *xorm.Engine) error {
type Badge struct {
ID int64 `xorm:"pk autoincr"`
Description string