You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kevingates Generally speaking, don't remove the code for a migration without first removing the migration. That being said, as long as you're not rewriting history in the git repo, then you can always go back to the commit that contains the migration code and roll back the migration from there.
Thank you for your clarification. Is there a chance that we could get a direct article on the official docs for the standard process for this? There is not a lot of articles on the proper rollback strategies, even unofficial articles outside the Microsoft docs.
Activity
ajcvickers commentedon Nov 16, 2021
@kevingates Generally speaking, don't remove the code for a migration without first removing the migration. That being said, as long as you're not rewriting history in the git repo, then you can always go back to the commit that contains the migration code and roll back the migration from there.
GC-BenLeeHughes commentedon Nov 16, 2021
Thank you for your clarification. Is there a chance that we could get a direct article on the official docs for the standard process for this? There is not a lot of articles on the proper rollback strategies, even unofficial articles outside the Microsoft docs.
Expand and clarify migrations guidance. (dotnet#5445)