This commit is contained in:
biss committed 2026-07-24 20:37:42 +08:00
1 parent 5da1a8a403
commit 20ca205080
9 files changed
+1115 -7

No files matched your search

+6
View File
@@ -87,6 +87,7 @@ builder.Services.AddScoped<ITokenService, TokenService>();
builder.Services.AddScoped<ICurrentUserDataScope, CurrentUserDataScope>();
builder.Services.AddScoped<DatabaseInitializer>();
builder.Services.AddScoped<DevelopmentSqliteMigrator>();
builder.Services.AddScoped<DevelopmentDemoDataSeeder>();
builder.Services.AddScoped<AutomaticScheduleGenerator>();
builder.Services
@@ -248,6 +249,11 @@ using (var scope = app.Services.CreateScope())
.InitializeAsync();
}
if (args.Contains("--seed-only", StringComparer.OrdinalIgnoreCase))
{
return;
}
app.Run();
public partial class Program;