gitea/models/system
Lunny Xiao 54fe47fbca
Change some columns from text to longtext and fix column wrong type caused by xorm (#35141)
This PR upgrade xorm to v1.3.10 which fixed a bug when both `longtext
json` tags in the struct field. The `longtext` will be ignored and
`json` will be considered as `text`.

A migration has been introduced to modify the column directly to
longtext. And another two columns should also be migrated from text to
longtext.

All these changes only affect mysql database because for other databases
Gitea supported, text is the same as longtext.

Fix #27244 
Fix #34764 
Fix #35042
2025-07-23 22:24:44 -07:00
..
appstate.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notice.go Change some columns from text to longtext and fix column wrong type caused by xorm (#35141) 2025-07-23 22:24:44 -07:00
notice_test.go chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
setting.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
setting_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00