"No DbContext named 'ConfigurationDbContext' was found" error
Closed this issue · 1 comments
Tony20221 commented
The instructions says to run these from Migrator folder
dotnet ef migrations add Init --context AdsDbContext -o Migrations/AdsDb
dotnet ef migrations add Init --context ConfigurationDbContext -o Migrations/ConfigurationDb
dotnet ef migrations add Init --context PersistedGrantDbContext -o Migrations/PersistedGrantDb
The last two gives errors:
No DbContext named 'ConfigurationDbContext' was found.
No DbContext named 'PersistedGrantDbContext' was found.
And the first one while it didn't give any errors, it didn't create any tables in the database.
phongnguyend commented
Close this as IdentityServers were moved to a separate folder /src/IdentityServer