File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
migrations/20250304184614_remove_task_run_first_attempt_started_at_column Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ Warnings:
3+
4+ - You are about to drop the column `firstAttemptStartedAt` on the `TaskRun` table. All the data in the column will be lost.
5+
6+ */
7+
8+ -- AlterTable
9+ ALTER TABLE " TaskRun" DROP COLUMN " firstAttemptStartedAt" ;
Original file line number Diff line number Diff line change @@ -1741,9 +1741,6 @@ model TaskRun {
17411741 completedAt DateTime ?
17421742 machinePreset String ?
17431743
1744- /// Run Engine 2.0+
1745- firstAttemptStartedAt DateTime ?
1746-
17471744 usageDurationMs Int @default (0 )
17481745 costInCents Float @default (0 )
17491746 baseCostInCents Float @default (0 )
Original file line number Diff line number Diff line change @@ -1204,7 +1204,7 @@ export class RunEngine {
12041204 data : {
12051205 status : "EXECUTING" ,
12061206 attemptNumber : nextAttemptNumber ,
1207- firstAttemptStartedAt : taskRun . attemptNumber === null ? new Date ( ) : undefined ,
1207+ executedAt : taskRun . attemptNumber === null ? new Date ( ) : undefined ,
12081208 } ,
12091209 include : {
12101210 tags : true ,
You can’t perform that action at this time.
0 commit comments