MCPcopy Index your code
hub / github.com/apache/devlake / SubtaskState

Struct SubtaskState

backend/core/models/subtask_state.go:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type SubtaskState struct {
25 Plugin string `gorm:"primaryKey;type:varchar(255)" json:"plugin"`
26 Subtask string `gorm:"primaryKey;type:varchar(255)" json:"subtask"`
27 // Params is a json string to identitfy rows of a specific scope (jira board, github repo)
28 Params string `gorm:"primaryKey;type:varchar(255);index" json:"params"`
29 // PrevConfig stores the previous configuration of the subtask for determining should subtask run in Incremntal or FullSync mode
30 PrevConfig string `json:"prevConfig"`
31 // TimeAfter stores the previous timeAfter specified by the user for determining should subtask run in Incremntal or FullSync mode
32 TimeAfter *time.Time `json:"timeAfter"`
33 PrevStartedAt *time.Time `json:"prevStartedAt"`
34 CreatedAt time.Time `json:"createdAt"`
35 UpdatedAt time.Time `json:"updatedAt"`
36}
37
38func (SubtaskState) TableName() string {
39 return "_devlake_subtask_states"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected