You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/07/12 01:17:12 UTC
[GitHub] [incubator-devlake] klesh commented on a diff in pull request #2455: [feat-2433]: record execution time for plugin subtasks
klesh commented on code in PR #2455:
URL: https://github.com/apache/incubator-devlake/pull/2455#discussion_r918465014
##########
models/migrationscripts/subtask_07112022.go:
##########
@@ -0,0 +1,34 @@
+package migrationscripts
+
+import (
+ "context"
+ commonArchived "github.com/apache/incubator-devlake/models/migrationscripts/archived"
+ "gorm.io/gorm"
+ "time"
+)
+
+type Subtask_07112022 struct {
+ commonArchived.Model
+ ParentID uint64 `json:"parent_id" gorm:"index"`
Review Comment:
`TaskId` would be more appropriate, `ParentId` is for representing a Tree by convention.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org