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

Consider adding reset_column_information to Backfilling data recommendations #214

Open
alexeyr-ci1 opened this issue Feb 7, 2023 · 1 comment

Comments

@alexeyr-ci1
Copy link

When we follow Backfilling data: Good, we found that sometimes when the migrations run immediately one after another, cached column information seems to be used and User.reset_column_information needs to be used in the second migration.

Unfortunately, this is hard to reproduce. In our project it happened when adding a translation column with the mobility gem and backfilling it from the non-translation column.

@niudage
Copy link

niudage commented Feb 21, 2023

good

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

No branches or pull requests

2 participants