From 7ba68d333bc20b5795ccfd3870546a05eee60470 Mon Sep 17 00:00:00 2001 From: T Date: Mon, 29 Sep 2025 15:04:44 -0600 Subject: Support for archiving clients and projects. --- internal/tui/shared_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/tui/shared_test.go') diff --git a/internal/tui/shared_test.go b/internal/tui/shared_test.go index 1df3eb9..135e02e 100644 --- a/internal/tui/shared_test.go +++ b/internal/tui/shared_test.go @@ -34,6 +34,7 @@ func setupTestDB(t *testing.T) (*queries.Queries, *sql.DB, func()) { name TEXT NOT NULL UNIQUE, email TEXT, billable_rate INTEGER, + archived INTEGER DEFAULT 0, created_at DATETIME DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE project ( @@ -41,6 +42,7 @@ func setupTestDB(t *testing.T) (*queries.Queries, *sql.DB, func()) { name TEXT NOT NULL, client_id INTEGER NOT NULL, billable_rate INTEGER, + archived INTEGER DEFAULT 0, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (client_id) REFERENCES client (id) ); -- cgit v1.2.3