(cherry-pick #5957) Fix azure devops migration from 0.17 to 0.18#5999
Merged
Conversation
378d8d2 to
343a6e8
Compare
Cherry-pick of #5957 * fix: Fix AzDO connection migration 0.17 -> 0.18 In 0.17, all connection fields are encrypted. In 0.18 only `token` is, so we need a migration of AzDo connection to decrypt all fields but `token`. * fix: Allow setting entities=None to ScopeConfig Allow setting `entities` field to `None` in `ScopeConfig` and fallback to default value. * feat: Add RenameColumn migration op * fix: Add missing AzDO migrations from 0.17 to 0.18 Now that migrations have been made manual, we need to add all the migrations for all that changed from 0.17 to 0.18 that were automatic before... Those are all required migrations collected with `git diff v0.17.0 v0.18.0-beta7 -- backend/python/plugins/azuredevops/azuredevops/models.py`: * Rename GitRepository.transformation_rule_id -> scope_config_id * Add GitRepository.provider * Rename Job.startTime -> start_time * Rename Job.finishTime -> start_time --------- Co-authored-by: Camille Teruel <camille.teruel@meri.co>
343a6e8 to
f76caca
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport #5957 in 0.18