From 3e78826658c7d2a4e9b3c1d73e63dacc1d39c361 Mon Sep 17 00:00:00 2001
From: Factiven <dabinaya.fathan@gmail.com>
Date: Sat, 12 Aug 2023 22:54:26 +0700
Subject: Update v3.9.3 - Merged Beta to Main (#51)

* 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
---
 prisma/migrations/20230810051657_ondelete_cascade/migration.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 prisma/migrations/20230810051657_ondelete_cascade/migration.sql

(limited to 'prisma/migrations/20230810051657_ondelete_cascade/migration.sql')

diff --git a/prisma/migrations/20230810051657_ondelete_cascade/migration.sql b/prisma/migrations/20230810051657_ondelete_cascade/migration.sql
new file mode 100644
index 0000000..a521884
--- /dev/null
+++ b/prisma/migrations/20230810051657_ondelete_cascade/migration.sql
@@ -0,0 +1,5 @@
+-- DropForeignKey
+ALTER TABLE "WatchListEpisode" DROP CONSTRAINT "WatchListEpisode_userProfileId_fkey";
+
+-- AddForeignKey
+ALTER TABLE "WatchListEpisode" ADD CONSTRAINT "WatchListEpisode_userProfileId_fkey" FOREIGN KEY ("userProfileId") REFERENCES "UserProfile"("name") ON DELETE CASCADE ON UPDATE CASCADE;
-- 
cgit v1.2.3

