Drive reanalysis service

This commit is contained in:
2026-01-13 01:06:47 +08:00
parent 0f74ed61fd
commit 4b7740e606
4 changed files with 296 additions and 5 deletions

View File

@@ -39,11 +39,6 @@ using (var scope = app.Services.CreateScope())
{
var db = scope.ServiceProvider.GetRequiredService<AppDatabase>();
await db.Database.MigrateAsync();
// Run one-time migration
var migrationService = scope.ServiceProvider.GetRequiredService<FileMigrationService>();
await migrationService.MigrateCloudFilesAsync();
await migrationService.MigratePermissionsAsync();
}
app.ConfigureAppMiddleware();