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
Document how to get list of pending migrations #1342
As part of my deployment processes, I want to validate that the database has been migrated before I start the app. To do this, I need to know if there are some migrations that have not been applied.
In EF6, I see there is DbMigrator.GetPendingMigrations() but is there an equivalent for EF Core? I request it be documented how one can inspect the sets of migrations that are available versus applied.
Activity
bricelam commentedon Mar 7, 2019
DbContext.Database.GetPendingMigrations()
dazinator commentedon Jul 17, 2019
Very useful to have this somewhere in the docs - perhaps here? #814
Expand and clarify migrations guidance. (dotnet#5445)