feat(discover): add DiscoverySuggestion.albumReason

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan
2026-07-14 23:34:58 +02:00
parent e74d1d9c7b
commit a09093f798
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -171,6 +171,10 @@ model DiscoverySuggestion {
score Float
seedCount Int
sources String[]
// Why this album is suggested (kind='album' only): "newest" (the artist's newest un-owned
// release), "popular" (their most-played per Last.fm), or "newest,popular" when they're the
// same release. Null for artist suggestions / rows from before this column existed.
albumReason String?
status SuggestionStatus @default(pending)
dedupeKey String @unique
createdAt DateTime @default(now())