This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "review_sessions" ADD COLUMN "allowedEpisodes" TEXT[] NOT NULL DEFAULT ARRAY[]::TEXT[];
|
||||
+11
-10
@@ -527,16 +527,17 @@ model Task {
|
||||
|
||||
/// Secure tokenized review link for clients
|
||||
model ReviewSession {
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
token String @unique @default(cuid())
|
||||
label String?
|
||||
email String?
|
||||
passwordHash String?
|
||||
expiresAt DateTime
|
||||
isActive Boolean @default(true)
|
||||
accessCount Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
token String @unique @default(cuid())
|
||||
label String?
|
||||
email String?
|
||||
passwordHash String?
|
||||
expiresAt DateTime
|
||||
isActive Boolean @default(true)
|
||||
accessCount Int @default(0)
|
||||
allowedEpisodes String[] @default([])
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user