I've been trying to fix a project so it has the db script for IdentityServer4. I've been informed to run
dotnet ef migrations add InitialIdentityServerMigration -c PersistedGrantDbContext
However when I run that I receive an error:
dotnet: No executable found matching command "dotnet-ef"
So I followed a few resources for getting dotnet-ef
and I Installed a few nuget packagets:
- Microsoft.EntityFrameworkCore.Tools
- Microsoft.EntityFrameworkCore.Design
but still affter all that I receive the same error message.
Is there another way to get the script for a Identity4 DB?