feat: LibraryItem.requestId nullable (scanned haves need no request) + test cleanup

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan
2026-07-11 16:56:59 +02:00
parent 446d54f819
commit af67d01aa2
5 changed files with 20 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ beforeEach(async () => {
// Job cascades from Request; Request.monitoredReleaseId is SetNull. Delete children first.
await prisma.job.deleteMany();
await prisma.request.deleteMany();
await prisma.libraryItem.deleteMany();
await prisma.monitoredRelease.deleteMany();
await prisma.watchedArtist.deleteMany();
await prisma.config.deleteMany();