gitea/models/migrations
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
..
base enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
fixtures
v1_6 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_7 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_8 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_9 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_10 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_11 enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
v1_12 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_13 enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
v1_14 enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
v1_15 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_16 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_17 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_18 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_19 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_20 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_21 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_22 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_23 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_24 enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
v1_25 Change some columns from text to longtext and fix column wrong type caused by xorm (#35141) 2025-07-23 22:24:44 -07:00
migrations_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
migrations.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