Fix broken type cast in migration #6707
Merged
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.
What type of PR is this?
Description
When running migrations against the latest snapshot i discovered that the new migration in #6687 failed with the following error:
It casts a text column to text where as we are altering the type to JSONB so it needs to be cast to JSOB.
How is this tested?
I made the above change and re-ran the migrations and it succeeded.
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)