Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
Change some columns from text to longtext and fix column wrong type caused by xorm#35141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
hiifong commentedJul 22, 2025
No sqlite support? |
wxiaoguang commentedJul 22, 2025
And, should it also include a fix for "uploading rpm with large metadata fails with mysql/mariadb database#35042" ? |
lunny commentedJul 23, 2025
SQLite doesn't support to change column type and it's unnecessary to change it for SQLite because TEXT is the same as LONGTEXT in SQLITE. |
54fe47f intogo-gitea:mainUh oh!
There was an error while loading.Please reload this page.
* giteaofficial/main: [skip ci] Updated translations via Crowdin Fix migrate input box bug (go-gitea#35166) [skip ci] Updated translations via Crowdin Only hide dropzone when no files have been uploaded (go-gitea#35156) Change some columns from text to longtext and fix column wrong type caused by xorm (go-gitea#35141) [skip ci] Updated translations via Crowdin Add `owner` and `parent` fields clarification to docs (go-gitea#35023) Improve language in en-US locale strings (go-gitea#35124)
Uh oh!
There was an error while loading.Please reload this page.
This PR upgrade xorm to v1.3.10 which fixed a bug when both
longtext jsontags in the struct field. Thelongtextwill be ignored andjsonwill be considered astext.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