]> source.dussan.org Git - gitea.git/commit
Increase Content field size of gpg_key and public_key to MEDIUMTEXT (#20896)
authorzeripath <art27@cantab.net>
Mon, 22 Aug 2022 13:32:28 +0000 (14:32 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2022 13:32:28 +0000 (14:32 +0100)
commit9d6a2034bcf0f62dadb51cfe1471632eaa52e36c
tree8157ec8bb4cc08d98ca9ce66b2bc998cefabb99f
parentaedfc923addcb7aa013f96474e942951e3fda74c
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>
models/asymkey/gpg_key.go
models/asymkey/ssh_key.go
models/migrations/migrations.go
models/migrations/v224.go
models/migrations/v225.go [new file with mode: 0644]