fix: gamerating model

This commit is contained in:
Huskydog9988
2025-05-14 22:13:53 -04:00
parent a34f10d9b9
commit 82b123a345
2 changed files with 43 additions and 2 deletions

View File

@ -55,8 +55,8 @@ model GameRating {
mReviewHref String?
Game Game? @relation(fields: [gameId], references: [id], onDelete: Cascade)
gameId String?
Game Game @relation(fields: [gameId], references: [id], onDelete: Cascade)
gameId String
@@unique([metadataSource, metadataId], name: "metadataKey")
}