-
-
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
Add migration to set IsArchived false if it is null #11853
Add migration to set IsArchived false if it is null #11853
Conversation
Fix go-gitea#11824 Signed-off-by: Andrew Thornton <art27@cantab.net>
I've set this as backport as I believe that we can still do this. |
@zeripath I think this is a task for doctor? |
(DB Consistency) |
Sadly we cannot backport this migration due to KeepActivityPrivate migration not being present in 1.12 |
I guess we add it to doctor then. |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Is models/migrations/v142.go migration still needed? |
Yes, as it means that users don't have to run doctor. |
I would still add the backport lable since we can partialy backport the doctor part |
ping LG-TM |
@zeripath please backport doctor changes :) |
…ort go-gitea#11853) Partial backport of go-gitea#11853 Add doctor check to set IsArchived false if it is null. (Migration change unfortunately not possible to be backported.) Fix go-gitea#11824 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add migration to set IsArchived false if it is null Fix go-gitea#11824 Signed-off-by: Andrew Thornton <art27@cantab.net> * Add doctor Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Fix #11824
Signed-off-by: Andrew Thornton art27@cantab.net