Skip to content

Commit

Permalink
feat: added vod links and mod prio to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
opti21 committed May 12, 2022
1 parent a8ff2f4 commit 65aac80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `Request` ADD COLUMN `vod_link` VARCHAR(191) NULL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `Request` ADD COLUMN `mod_prio` BOOLEAN NOT NULL DEFAULT false;
2 changes: 2 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ model Request {
queue_id Int? @default(2)
played Boolean @default(false)
played_at DateTime?
vod_link String?
priority Boolean @default(false)
mod_prio Boolean @default(false)
requested_by_id String?
Video Video @relation(fields: [video_id], references: [id])
TagsOnRequests TagsOnRequests[]
Expand Down

0 comments on commit 65aac80

Please sign in to comment.