-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add migration to set IsArchived false if it is null #11853
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
Conversation
Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]>
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 <[email protected]>
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 <[email protected]>
…ort #11853) (#11859) Partial backport of #11853 Add doctor check to set IsArchived false if it is null. (Migration change unfortunately not possible to be backported.) Fix #11824 Signed-off-by: Andrew Thornton <[email protected]>
* Add migration to set IsArchived false if it is null Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]> * Add doctor Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Fix #11824
Signed-off-by: Andrew Thornton [email protected]