Updated scanner logic, and added initial scanner tests.
This commit is contained in:
@@ -22,7 +22,7 @@ builder.Services
|
||||
var cs = builder.Configuration.GetConnectionString("AppDb")
|
||||
?? throw new InvalidOperationException("Missing ConnectionStrings:AppDb2");
|
||||
|
||||
builder.Services.AddDbContext<AppDbContext>(opt =>
|
||||
builder.Services.AddDbContextFactory<AppDbContext>(opt =>
|
||||
opt.UseMySql(cs, ServerVersion.AutoDetect(cs))
|
||||
.EnableSensitiveDataLogging(false));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user