revert Migration dotnet EntityFramework

To revert the last applied migration you should (package manager console commands):

Revert migration from database: PM> Update-Database
Remove migration file from project (or it will be reapplied again on next step)
Update model snapshot: PM> Remove-Migration

Kategoria: