Pages

Wednesday, 7 July 2021

.NET Core: Reset Entity Framework Migrations

Open your project folder and issue the following:


dotnet tool install --global dotnet-ef

dotnet ef database drop -f -v

dotnet ef migrations add Initial

dotnet ef database update