How to see status of migrations in .NET Core with EF Core

.net ef-core-2.1 entity-framework entity-framework-core

Question

The EF Core migration commands are:

  add     Adds a new migration.
  list    Lists available migrations.
  remove  Removes the last migration.
  script  Generates a SQL script from migrations.

Is there any way to see the status of available migrations (whether they were run or not)? Something like a dotnet ef migrations status?

1
0
2/12/2019 6:23:25 PM

Popular Answer

Get-Migrations command will Displays the migrations that have been applied to the target database.

0
2/12/2019 7:15:19 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