/* 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;