ActorRolesPanelComponent added, other fixes

This commit is contained in:
2024-10-12 01:51:39 +02:00
Unverified
parent 55ff257f56
commit d50373f4ba
20 changed files with 238 additions and 14 deletions

View File

@@ -42,7 +42,14 @@ public static class Program
using (IServiceScope scope = app.Services.CreateScope())
{
scope.ServiceProvider.GetService<DatabaseContext>().Database.Migrate();
DatabaseContext dbContext = scope.ServiceProvider.GetRequiredService<DatabaseContext>();
while (!dbContext.Database.CanConnect())
{
Thread.Sleep(1000);
}
dbContext.Database.Migrate();
}
if (app.Environment.IsDevelopment())