Building out navigation in the admin site

This commit is contained in:
2026-04-13 15:27:09 -07:00
parent 334b6cf3e1
commit f2816b6900
67 changed files with 3426 additions and 236 deletions

View File

@@ -146,6 +146,13 @@ try
var app = builder.Build();
// Apply any pending EF Core migrations on startup (safe to run on every boot)
using (var migrationScope = app.Services.CreateScope())
{
var db = migrationScope.ServiceProvider.GetRequiredService<MicCheckDbContext>();
await db.Database.MigrateAsync();
}
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();