aboutsummaryrefslogtreecommitdiff
path: root/prisma/schema.prisma
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-08-12 22:54:26 +0700
committerGitHub <[email protected]>2023-08-12 22:54:26 +0700
commit3e78826658c7d2a4e9b3c1d73e63dacc1d39c361 (patch)
treed580d03670692c6c5d361ec8559e7a2352354f3a /prisma/schema.prisma
parentUpdate v3.9.1 - Merged Beta to Main (#44) (diff)
downloadmoopa-3.9.3.tar.xz
moopa-3.9.3.zip
Update v3.9.3 - Merged Beta to Main (#51)v3.9.3
* commit * update db * Update v3.9.1-beta-v3.1 * Update v3.9.1 * Fix watched progress not showing * Secure headers * Fix recently watched image * Update v3.9.2 > Added custom lists for AniList > Fixed episode listMode progress * Update db route * Fixed AniList * Fix next button on dub anime > video is playing sub anime instead dub * small adjusment for premid * fix eslint * small updates > added ability to remove episode from recently watched * Update v3.9.3
Diffstat (limited to 'prisma/schema.prisma')
-rw-r--r--prisma/schema.prisma2
1 files changed, 1 insertions, 1 deletions
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index f336e54..072415b 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -25,7 +25,7 @@ model WatchListEpisode {
duration Int?
provider String?
createdDate DateTime? @default(now())
- userProfile UserProfile @relation(fields: [userProfileId], references: [name])
+ userProfile UserProfile @relation(fields: [userProfileId], references: [name], onDelete: Cascade)
userProfileId String
watchId String
}