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
{{ message }}
Repository navigation
Addition to Remove migration section - Update database before removing applied migration #4266
Under the Remove a migration section, perhaps you should add, that in order to remove an applied migration, you should update your database to the previous good migration, before you can remove latest migration. This is better instead of just saying: "Warning: Avoid removing any migrations which have already been applied to production databases.".
If you're new to EF, you may think that you need to reset your migrations if you made a mistake, which is not true :-)
Thanks for your time.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 5d4bb699-8a1f-b908-65f8-3c3dbbea25e7
Version Independent ID: 9d82c393-ac60-0526-1779-f51c8ce16102
Activity
Expand and clarify migrations guidance. (dotnet#5445)