forked from gitea/gitea
1
0
Fork 0
Commit Graph

2 Commits

Author SHA1 Message Date
Giteabot ecae62837c
Refactor `setting.Database.UseXXX` to methods () ()
Backport 

Replace .

Refactor `setting.Database.UseMySQL` to
`setting.Database.Type.IsMySQL()`.

To avoid mismatching between `Type` and `UseXXX`.

This refactor can fix the bug mentioned in , so it should be
backported.

Co-authored-by: Jason Song <i@wolfogre.com>
2023-03-07 20:11:44 +08:00
zeripath 52dd383b6d
Increase Content field size of gpg_key_import to MEDIUMTEXT ()
Unfortunately  does not completely prevent Data too long issues
and GPGKeyImport needs to be increased too.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-02-16 12:08:40 -06:00