🐛 Ah bug fixes
This commit is contained in:
parent
740f5ad3fc
commit
9b7a3be5c9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user