Ensured that Database gets created
Some checks failed
.NET Docker Build & Push / build_and_push (push) Failing after 54s
Some checks failed
.NET Docker Build & Push / build_and_push (push) Failing after 54s
This commit is contained in:
@@ -67,6 +67,7 @@ using (var scope = app.Services.CreateScope())
|
||||
var CouchLogDB = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>();
|
||||
|
||||
CouchLogDB.Database.Migrate();
|
||||
CouchLogDB.Database.EnsureCreated();
|
||||
|
||||
string[] roleNames = { "Admin", "User" };
|
||||
IdentityResult roleResult;
|
||||
|
||||
Reference in New Issue
Block a user