Social credit validation and recalculation

This commit is contained in:
2025-11-02 02:11:34 +08:00
parent 70fdc247e7
commit 5e5f4528b9
9 changed files with 2826 additions and 14 deletions

View File

@@ -35,14 +35,7 @@ app.MapDefaultEndpoints();
using (var scope = app.Services.CreateScope())
{
var db = scope.ServiceProvider.GetRequiredService<AppDatabase>();
try
{
await db.Database.MigrateAsync();
}
catch (Exception err)
{
Console.WriteLine(err);
}
await db.Database.MigrateAsync();
}
// Configure application middleware pipeline
@@ -53,4 +46,4 @@ app.ConfigureGrpcServices();
app.UseSwaggerManifest("DysonNetwork.Pass");
app.Run();
app.Run();