Open AndreKraemer opened 3 hours ago
In the section Update the database
there is the following code snipped which doesn't work:
dotnet ef migrations AddRatingField
If you run this command, you get the following error:
Unrecognized command or argument 'AddRatingField'
The issue can be fixed by adding the add-command like this:
add
dotnet ef migrations add AddRatingField
https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-7?view=aspnetcore-8.0&pivots=vsc
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/tutorials/movie-database-app/part-7.md
797772a3-9855-d0a1-282e-3cc089025fb6
@guardrex
Stand by! A green dinosaur 🦖 (guardrex) will arrive shortly to assist.
Description
In the section Update the database
there is the following code snipped which doesn't work:
dotnet ef migrations AddRatingField
If you run this command, you get the following error:
Unrecognized command or argument 'AddRatingField'
The issue can be fixed by adding the
add
-command like this:dotnet ef migrations add AddRatingField
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-7?view=aspnetcore-8.0&pivots=vsc
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/tutorials/movie-database-app/part-7.md
Document ID
797772a3-9855-d0a1-282e-3cc089025fb6
Article author
@guardrex