summaryrefslogtreecommitdiff
path: root/internal/store/native_tasks_test.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-15 18:17:47 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-16 02:54:17 +0000
commitd5750f2268be5164159dcd81901a10b0496525b7 (patch)
tree05937fd9cf44294e4fd17496077b7ae81c342389 /internal/store/native_tasks_test.go
parenta2afca944b28d0253c02cf72aa210df3ed4b3de5 (diff)
feat(tasks): add label color CRUD store methods
Diffstat (limited to 'internal/store/native_tasks_test.go')
-rw-r--r--internal/store/native_tasks_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/store/native_tasks_test.go b/internal/store/native_tasks_test.go
index 0117bf5..cf9ea49 100644
--- a/internal/store/native_tasks_test.go
+++ b/internal/store/native_tasks_test.go
@@ -57,6 +57,14 @@ func newNativeTasksTestStore(t *testing.T) *Store {
`); err != nil {
t.Fatal(err)
}
+ if _, err := db.Exec(`
+ CREATE TABLE labels (
+ name TEXT PRIMARY KEY,
+ color TEXT NOT NULL
+ )
+ `); err != nil {
+ t.Fatal(err)
+ }
if _, err := db.Exec(`INSERT INTO native_tasks (id, content) VALUES ('real-1', 'Real task')`); err != nil {
t.Fatal(err)
}