Initial commit
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user