-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Attempt to fix the webauthn migration again - part 3 #18770
Conversation
MariaDB now asserts that 408 characters is too long for a VARCHAR(410) I have no words. See go-gitea#18756 Signed-off-by: Andrew Thornton <art27@cantab.net>
769f557
to
8c142c3
Compare
Codecov Report
@@ Coverage Diff @@
## main #18770 +/- ##
=======================================
Coverage ? 46.58%
=======================================
Files ? 852
Lines ? 122456
Branches ? 0
=======================================
Hits ? 57043
Misses ? 58529
Partials ? 6884
Continue to review full report at Codecov.
|
Signed-off-by: Andrew Thornton <art27@cantab.net>
…o varchar-410-is-not-enough
I think this might actually still be insufficient. Is it possible that v208 might have updated the IDs to all be the same number too? If that's the case then this won't remigrate. Then there's the case of the users who have deleted the old u2f keys already too. |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
…o varchar-410-is-not-enough
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
OK I think this is finally ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's hope it be the last one 😄 Couldn't find any issue with it.
* giteaofficial/main: Move deletebeans into models/db (go-gitea#18781) Allow mermaid render error to wrap (go-gitea#18790) Attempt to fix the webauthn migration again - part 3 (go-gitea#18770) Fix template bug of LFS lock (go-gitea#18784)
v208.go is seriously broken as it misses an ID() check. We need to no-op and remigrate all of the u2f keys. See go-gitea#18756 Signed-off-by: Andrew Thornton <art27@cantab.net>
v208.go is seriously broken as it misses an ID() check. We need to no-op and remigrate all of the u2f keys.
See #18756
Signed-off-by: Andrew Thornton art27@cantab.net