Skip to content

Commit 1a6a950

Browse files
committed
cannot store child 'steps' as nil in the db to run as step
1 parent 61f727d commit 1a6a950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbos/system_database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,8 +1238,8 @@ type recordChildWorkflowDBInput struct {
12381238

12391239
func (s *sysDB) recordChildWorkflow(ctx context.Context, input recordChildWorkflowDBInput) error {
12401240
query := fmt.Sprintf(`INSERT INTO %s.operation_outputs
1241-
(workflow_uuid, function_id, function_name, child_workflow_id)
1242-
VALUES ($1, $2, $3, $4)`, pgx.Identifier{s.schema}.Sanitize())
1241+
(workflow_uuid, function_id, function_name, child_workflow_id, output)
1242+
VALUES ($1, $2, $3, $4, '')`, pgx.Identifier{s.schema}.Sanitize())
12431243

12441244
var commandTag pgconn.CommandTag
12451245
var err error

0 commit comments

Comments
 (0)