Visual Studio Code Entity Framework Core Add-Migration not recognized

The correct format to add a new migration is:

dotnet ef migrations add yourMigrationName

and to update database is:

dotnet ef database update

Leave a Comment