MCPcopy Create free account
hub / github.com/Facets-cloud/flow / Project

Struct Project

internal/flowdb/db.go:131–140  ·  view source on GitHub ↗

(idx_tasks_session_id is a partial UNIQUE index that requires a dedupe pass against existing data — a flat CREATE UNIQUE INDEX would fail on any DB that has two tasks sharing a session_id. migrateTasksSessionIDUnique handles both the dedupe and the index creation as one idempotent step.) ----------

Source from the content-addressed store, hash-verified

129
130// Project mirrors the projects table.
131type Project struct {
132 Slug string
133 Name string
134 Status string
135 Priority string
136 WorkDir string
137 CreatedAt string
138 UpdatedAt string
139 ArchivedAt sql.NullString
140}
141
142// Task mirrors the tasks table. ProjectSlug is nullable for floating tasks.
143type Task struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected