diff --git a/DysonNetwork.Sphere/Storage/FileService.ReferenceMigration.cs b/DysonNetwork.Sphere/Storage/FileService.ReferenceMigration.cs index d377aba..0459e93 100644 --- a/DysonNetwork.Sphere/Storage/FileService.ReferenceMigration.cs +++ b/DysonNetwork.Sphere/Storage/FileService.ReferenceMigration.cs @@ -34,7 +34,6 @@ public class FileReferenceMigrationService(AppDatabase db) { var posts = await db.Posts .Include(p => p.OutdatedAttachments) - .Where(p => p.OutdatedAttachments.Any()) .ToListAsync(); var attachmentsId = posts.SelectMany(p => p.OutdatedAttachments.Select(a => a.Id)).ToList();