-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(Accounts): Add back v2 scope migration #54703
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
Conversation
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
Signed-off-by: provokateurin <[email protected]>
susnux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably rather do a real migration as this will not be done if only read - meaning if there is no write it will stay there forever...
Signed-off-by: provokateurin <[email protected]>
131235b to
53c1268
Compare
|
A real migration would be quite expensive (since it needs to run for every user), but yeah I don't like this either. |
We already did this for others |
Reverts part of #52544.
The database can still contain legacy scopes and when they are loaded,
setScopewill throw an error.The migration needs to stay, as we don't save the migrated scopes back to the database.