Skip to content
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

fix(migrations): proper migration for tokenVersion #4690

Merged
merged 2 commits into from
Mar 15, 2021
Merged

Conversation

spg
Copy link
Member

@spg spg commented Mar 12, 2021

This PR adds a copy of src/bp/migrations/v12_17_1-1611946378-implement_token_version.ts but with a v12_18_3 prefix.

This fixes a bug where the v12_17_1-1611946378-implement_token_version.ts migration was mistakenly distributed in 12.18.0. As a result, the v12_17_1-1611946378-implement_token_version.ts was never run if you migrated from >= 12.17.1 to 12.18.0.

Adding a copy of this migration in the 12.18.3 release will ensure the migration will be run for clients who migrate to 12.18.3.

@spg spg requested review from EFF and allardy March 12, 2021 17:49
@laurentlp
Copy link
Contributor

Maybe add a comment as to why we have duplicated this migration so that there is no confusion in the future?

@spg
Copy link
Member Author

spg commented Mar 12, 2021

@laurentlp I was thinking thinking that people would find a way to this PR through the Git blame. Do you think that would be enough? I can also add the comment if necessary.

Copy link
Member

@EFF EFF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this for 12.19 please

@EFF
Copy link
Member

EFF commented Mar 15, 2021

did it for you. thanks : 🙏

@EFF EFF merged commit adf7e75 into master Mar 15, 2021
@EFF EFF mentioned this pull request Mar 15, 2021
@spg spg deleted the spg-fix-migration branch March 17, 2021 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants