aboutsummaryrefslogtreecommitdiff
path: root/sql/update/llm_db_update.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/update/llm_db_update.sql')
-rw-r--r--sql/update/llm_db_update.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/update/llm_db_update.sql b/sql/update/llm_db_update.sql
index a4eb848..7f1a9f9 100644
--- a/sql/update/llm_db_update.sql
+++ b/sql/update/llm_db_update.sql
@@ -25,7 +25,7 @@ CREATE TABLE IF NOT EXISTS history (
user_id TEXT NOT NULL,
task_id TEXT NOT NULL,
query TEXT NOT NULL,
- results TEXT,
+ results JSONB,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (task_id)
) WITHOUT ROWID;