Initial commit

This commit is contained in:
twotalesanimation
2026-06-11 10:46:09 +02:00
commit 81ad7e4ea9
223 changed files with 39530 additions and 0 deletions
@@ -0,0 +1,16 @@
/*
Warnings:
- You are about to drop the column `seconds` on the `VideoProgress` table. All the data in the column will be lost.
*/
-- DropIndex
DROP INDEX "VideoProgress_videoId_idx";
-- AlterTable
ALTER TABLE "VideoProgress" DROP COLUMN "seconds",
ADD COLUMN "completed" BOOLEAN NOT NULL DEFAULT false,
ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "lastPos" INTEGER,
ADD COLUMN "percent" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "watchedSec" INTEGER NOT NULL DEFAULT 0;