fix: migration error

This commit is contained in:
Fu Diwei 2025-04-07 15:31:20 +08:00
parent 47c4ba9dd6
commit 111ef97d9c

View File

@ -258,15 +258,14 @@ func init() {
}
type dWorkflowNode struct {
Id string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
Config map[string]any `json:"config"`
Inputs map[string]any `json:"inputs"`
Outputs map[string]any `json:"outputs"`
Next *dWorkflowNode `json:"next,omitempty"`
Branches []dWorkflowNode `json:"branches,omitempty"`
Validated bool `json:"validated"`
Id string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
Inputs []map[string]any `json:"inputs"`
Outputs []map[string]any `json:"outputs"`
Next *dWorkflowNode `json:"next,omitempty"`
Branches []dWorkflowNode `json:"branches,omitempty"`
Validated bool `json:"validated"`
}
for _, workflowRun := range workflowRuns {