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

Extra columns should come before #245

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Extra columns should come before #245

merged 2 commits into from
Jul 14, 2021

Conversation

alok87
Copy link
Contributor

@alok87 alok87 commented Jul 13, 2021

Fixes #244

Problem

Currently new columns added at source breaks migration for tables having extra columns like length_keys and mobile_keys.

Solution

After this change extra columns will be the first columns instead of the last ones. This was done so that there are no migration failures when new columns are added at source.

And if any new extra column is added in masking, it will any way recreate the table in reload group, which already works!

Note: This is a backward incompatible change for all tables using length_keys and mobile_keys. These tables needs to be reloaded.

This is backward incompatible for text_length feature in masking
@alok87 alok87 added the bug Something isn't working label Jul 13, 2021
Status update calls fail when many are updated together
#246
@alok87 alok87 merged commit c1947e4 into master Jul 14, 2021
@alok87
Copy link
Contributor Author

alok87 commented Jul 14, 2021

Released image for this have tag: v1.0.0-beta.1-6-gc1947e4

@alok87 alok87 deleted the fix-244 branch September 14, 2021 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Schema migration fails due to column order issue due to extra columns
1 participant