diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/actions/task_output.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/actions/task_output.go b/models/actions/task_output.go index 5291a783d6..eab5b93118 100644 --- a/models/actions/task_output.go +++ b/models/actions/task_output.go @@ -20,6 +20,10 @@ type ActionTaskOutput struct { OutputValue string `xorm:"MEDIUMTEXT"` } +func init() { + db.RegisterModel(new(ActionTaskOutput)) +} + // FindTaskOutputByTaskID returns the outputs of the task. func FindTaskOutputByTaskID(ctx context.Context, taskID int64) ([]*ActionTaskOutput, error) { var outputs []*ActionTaskOutput |