summaryrefslogtreecommitdiff
path: root/storage/storage_test.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-12-11 18:43:04 +0300
committerGrail Finder <wohilas@gmail.com>2024-12-11 18:43:04 +0300
commited5cb75134019a7ba063a13b5ff6f9cd296c80dd (patch)
treeb42c92890ed315c149af39c09b211c874e5c7ead /storage/storage_test.go
parent5f780287aecedf08f94b6a1e0ae2a8822683a3fc (diff)
Refactor: sql on conflict; fix unittest; page names to vars
Diffstat (limited to 'storage/storage_test.go')
-rw-r--r--storage/storage_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/storage_test.go b/storage/storage_test.go
index ad1f1bf..8373ab0 100644
--- a/storage/storage_test.go
+++ b/storage/storage_test.go
@@ -95,6 +95,7 @@ func TestChatHistory(t *testing.T) {
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
msgs TEXT NOT NULL,
+ agent TEXT NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);`)