Check for pending migrations in Entity Framework?

entity-framework entity-framework-6

Question

I apply migrations using the Update-Database command in Entity Framework 6. I update three environments (DEV, QA, and PROD) while juggling them utilising

Update-Database -ConnectionStringName DEV 

However, I now want to know what stage of the migration my PROD environment is at and which migrations would be used if I use Update-Database.

Is there a command I can run to see which migrations have been implemented most recently and which ones will be applied if I execute Update-Database?

1
13
1/7/2017 8:45:11 AM

Accepted Answer

ZZZ_tmp
18
4/8/2020 2:30:02 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow