-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] wrong migration in v1.17.3 #21880
Comments
I'm not sure they're wrong exactly - the empty values shouldn't cause any problem as far as I can see. Potentially we should backport a "fix" that adds the empty fields to the schemas. |
Maybe it's a bug of xorm's detection? |
Xorm is right to moan here the structs aren't matching what the migration has done, we should probably update the structs to match the migration |
I'm getting the same warning messages and found that this is also preventing me from adding any commits in the web editor because I have
gitea.log:
|
|
This is a different issue. |
#20556 backport the migration but not the feature. I think it's safe to add the struct into the struct with nothing else. |
I saw this PR only backported one field. Are the other two already backported? |
Another two fields are |
Description
after upgrading from v1.16.7 to v1.17.3 Gitea logs these warnings.
These fields are added through a wrongly back ported migration, see migrations.go .
Discussion started on discord
Gitea Version
v1.17.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker via
gitea/gitea:1.17.3
Database
MySQL
The text was updated successfully, but these errors were encountered: