Schedule automatic content for publishing
This commit is contained in:
@@ -552,7 +552,8 @@ enum ContentScheduleMode {
|
||||
RANDOM
|
||||
}
|
||||
|
||||
// Durable creation queue. The output is always a draft and never a published post.
|
||||
// Durable creation queue. Manual jobs output drafts; auto jobs bypass approval
|
||||
// and are handed to the normal publishing workflow at their configured slot.
|
||||
model PostGenerationJob {
|
||||
id String @id @default(cuid())
|
||||
pageId String
|
||||
@@ -563,8 +564,8 @@ 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.
|
||||
// Legacy review-board placement fields retained for queued jobs created
|
||||
// before auto-content began scheduling posts directly.
|
||||
placeOnBoardAt DateTime?
|
||||
boardPlacedAt DateTime?
|
||||
profileSnapshot Json
|
||||
|
||||
Reference in New Issue
Block a user