summaryrefslogtreecommitdiff
path: root/internal/store/native_tasks_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/store/native_tasks_test.go')
-rw-r--r--internal/store/native_tasks_test.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/store/native_tasks_test.go b/internal/store/native_tasks_test.go
index cf9ea49..1b4bdf2 100644
--- a/internal/store/native_tasks_test.go
+++ b/internal/store/native_tasks_test.go
@@ -41,7 +41,8 @@ func newNativeTasksTestStore(t *testing.T) *Store {
recurrence_interval INTEGER DEFAULT 1,
recurrence_weekdays TEXT DEFAULT '',
recurrence_series_id TEXT DEFAULT '',
- next_occurrence_override TEXT DEFAULT ''
+ next_occurrence_override TEXT DEFAULT '',
+ estimated_minutes INTEGER DEFAULT 0
)
`); err != nil {
t.Fatal(err)
@@ -52,7 +53,8 @@ func newNativeTasksTestStore(t *testing.T) *Store {
name TEXT NOT NULL,
color TEXT DEFAULT '',
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
- archived BOOLEAN DEFAULT 0
+ archived BOOLEAN DEFAULT 0,
+ budget_tracked BOOLEAN DEFAULT 0
)
`); err != nil {
t.Fatal(err)
@@ -60,7 +62,8 @@ func newNativeTasksTestStore(t *testing.T) *Store {
if _, err := db.Exec(`
CREATE TABLE labels (
name TEXT PRIMARY KEY,
- color TEXT NOT NULL
+ color TEXT NOT NULL,
+ budget_tracked BOOLEAN DEFAULT 0
)
`); err != nil {
t.Fatal(err)