File tree Expand file tree Collapse file tree
internal-packages/database/prisma
migrations/20250331105838_make_checkpoint_image_ref_optional
packages/core/src/v3/schemas Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ -- AlterTable
2+ ALTER TABLE " TaskRunCheckpoint" ALTER COLUMN " imageRef" DROP NOT NULL ;
Original file line number Diff line number Diff line change @@ -2064,7 +2064,7 @@ model TaskRunCheckpoint {
20642064
20652065 type TaskRunCheckpointType
20662066 location String
2067- imageRef String
2067+ imageRef String ?
20682068 reason String ?
20692069 metadata String ?
20702070
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ export type CheckpointType = z.infer<typeof CheckpointType>;
161161export const CheckpointInput = z . object ( {
162162 type : CheckpointType ,
163163 location : z . string ( ) ,
164- imageRef : z . string ( ) ,
165164 reason : z . string ( ) . nullish ( ) ,
166165} ) ;
167166
@@ -171,6 +170,7 @@ export const TaskRunCheckpoint = CheckpointInput.merge(
171170 z . object ( {
172171 id : z . string ( ) ,
173172 friendlyId : z . string ( ) ,
173+ imageRef : z . string ( ) ,
174174 } )
175175) ;
176176
You can’t perform that action at this time.
0 commit comments