Skip to content

Commit 90208d5

Browse files
committed
Add ID of the replayedFrom run to the TaskRun schema
1 parent 4c635f7 commit 90208d5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "TaskRun" ADD COLUMN "replayedFromTaskRunFriendlyId" TEXT;

internal-packages/database/prisma/schema.prisma

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,8 @@ model TaskRun {
644644
645645
logsDeletedAt DateTime?
646646
647+
replayedFromTaskRunFriendlyId String?
648+
647649
/// This represents the original task that that was triggered outside of a Trigger.dev task
648650
rootTaskRun TaskRun? @relation("TaskRootRun", fields: [rootTaskRunId], references: [id], onDelete: SetNull, onUpdate: NoAction)
649651
rootTaskRunId String?

0 commit comments

Comments
 (0)