Add review window and manual content generation
This commit is contained in:
@@ -563,6 +563,10 @@ model PostGenerationJob {
|
||||
topic String
|
||||
targets Platform[]
|
||||
plannedAt DateTime?
|
||||
// Automatic drafts stay in the draft tray until this time. Once due, the
|
||||
// worker copies plannedAt to Post.plannedAt and records boardPlacedAt.
|
||||
placeOnBoardAt DateTime?
|
||||
boardPlacedAt DateTime?
|
||||
profileSnapshot Json
|
||||
status PostGenerationStatus @default(QUEUED)
|
||||
stage String @default("queued")
|
||||
@@ -581,4 +585,5 @@ model PostGenerationJob {
|
||||
@@unique([requestedById, requestKey])
|
||||
@@index([status, createdAt])
|
||||
@@index([pageId, createdAt])
|
||||
@@index([placeOnBoardAt, boardPlacedAt])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user