-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Migrations: Team environments can break rebuilds #996
Comments
We should revisit the idea of keeping a Git style tree of migrations, we may not need to try and solve this issue but we could warn when we detect multiple heads and let devs know that they need to verify things work as expected. It seems like the cases where you hit issues like this are way less now that we have the combined snapshot. |
Team Triage: We're making a lot of progress on team environments in EF Core and it seems like it only falls down in edge cases now. We should come back and look at these in the future though and see if we can do something better. |
Imagine the following scenario.
When Table1 is rebuilt, it will not contain ColumnX. This is because when DevB's migration was scaffolded, it did not know about ColumnX.
This will be true whether we rebuild by "binding" to the model or by scaffold an imperative table rebuild.
The text was updated successfully, but these errors were encountered: