.NET and ASP.NET Core 10 · Entity Framework Core

Apply migrations

Update the database to the latest migration.

dotnet ef database update

Caution: Check the migration and back up production data first.

Official .NET and ASP.NET Core 10 documentation

More entity framework core commands

All entity framework core commands · .NET and ASP.NET Core 10 cheatsheet

Was this page helpful?