summaryrefslogtreecommitdiff
path: root/internal/task/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/task/task.go')
-rw-r--r--internal/task/task.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/task/task.go b/internal/task/task.go
index 0d1026f..73e69d3 100644
--- a/internal/task/task.go
+++ b/internal/task/task.go
@@ -73,8 +73,8 @@ type Task struct {
ParentTaskID string `yaml:"parent_task_id" json:"parent_task_id"`
Name string `yaml:"name" json:"name"`
Description string `yaml:"description" json:"description"`
- Project string `yaml:"project" json:"project"` // Human-readable project name
- RepositoryURL string `yaml:"repository_url" json:"repository_url"`
+ ProjectID string `yaml:"project_id" json:"project_id"` // FK to Project.ID
+ RepositoryURL string `yaml:"-" json:"repository_url,omitempty"` // derived at runtime from ProjectID
Agent AgentConfig `yaml:"agent" json:"agent"`
Timeout Duration `yaml:"timeout" json:"timeout"`
Retry RetryConfig `yaml:"retry" json:"retry"`