gitea/models/packages
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
..
alpine Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
arch Add Arch package registry (#32692) 2024-12-04 23:09:07 +00:00
conan Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
conda Add Conda package registry (#22262) 2023-02-01 12:30:39 -06:00
container Improve nuget/rubygems package registries (#34741) 2025-06-17 19:42:00 +02:00
cran Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
debian Fix db engine (#32351) 2024-10-27 18:48:07 -04:00
nuget when using rules to delete packages, remove unclean bugs (#34632) 2025-06-18 04:47:49 +00:00
rpm Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
descriptor.go Improve nuget/rubygems package registries (#34741) 2025-06-17 19:42:00 +02:00
package.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
package_blob.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
package_blob_upload.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
package_cleanup_rule.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
package_file.go Refactor container and UI (#34736) 2025-06-16 16:27:01 +08:00
package_property.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
package_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
package_version.go Improve NuGet API Parity (#21291) (#34940) 2025-07-07 10:43:58 +00:00