Open sanpunind opened 4 years ago
Do you receive an exception when running this?
The same issue with standalone SQL Server.
I have changed appsettings connection string (CS). But it is still present for second migration.
Fix the next lines with the correct CS:
public PersistedGrantDbContext CreateDbContext(string[] args)
{
var optionsBuilder = new DbContextOptionsBuilder
This exception occurs because one might not have adjusted their "Connection String" as one did in the two of "appsettings.json". The adjustment made there needs to be done in the connection string in this class.
This is the syntax just in case for those who are still skeptical
Server=ServerName;Database=DatabaseName;Trusted_Connection=True;
following command doesn't create respective entities into database , also I don't see consent page after login ,
AuthServer.Infrastructure> dotnet ef database update --context PersistedGrantDbContext
Please suggest