fix/thumbnail-code #20

Merged
vivy-agent merged 10 commits from fix/thumbnail-code into main 2026-02-22 11:10:08 +07:00
6 changed files with 261 additions and 147 deletions
Showing only changes of commit 9bcaed9526 - Show all commits

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "videos" ADD COLUMN "thumbnailCode" TEXT;

View File

@ -212,6 +212,7 @@ model Video {
service VideoService @relation("VideoServices", fields: [serviceId], references: [id]) service VideoService @relation("VideoServices", fields: [serviceId], references: [id])
serviceId String @db.Uuid serviceId String @db.Uuid
videoCode String @db.VarChar(255) videoCode String @db.VarChar(255)
thumbnailCode String?
pendingUpload Boolean @default(true) pendingUpload Boolean @default(true)
uploader User @relation("UserVideos", fields: [uploadedBy], references: [id]) uploader User @relation("UserVideos", fields: [uploadedBy], references: [id])
uploadedBy String @db.Uuid uploadedBy String @db.Uuid