9 lines
398 B
SQL
9 lines
398 B
SQL
-- Keep automatic content in the draft tray for review before it is placed on
|
|
-- the content calendar. Both timestamps make the 08:00 transition idempotent.
|
|
ALTER TABLE "PostGenerationJob"
|
|
ADD COLUMN "placeOnBoardAt" TIMESTAMP(3),
|
|
ADD COLUMN "boardPlacedAt" TIMESTAMP(3);
|
|
|
|
CREATE INDEX "PostGenerationJob_placeOnBoardAt_boardPlacedAt_idx"
|
|
ON "PostGenerationJob"("placeOnBoardAt", "boardPlacedAt");
|