diff options
author | Alexander_Kabui | 2024-09-03 11:08:31 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-03 11:08:31 +0300 |
commit | c34d75a29b7d144030542b9de4fd0e0d614303a9 (patch) | |
tree | c93b2a4ba834100a3079d3f8cd4eb59812c29e12 /gn3 | |
parent | c16c54759cfd493250424ee3f565862e5d6009b3 (diff) | |
download | genenetwork3-c34d75a29b7d144030542b9de4fd0e0d614303a9.tar.gz |
Use Jsonb for storing results.
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/llm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index 8d17bc2..9ee4a79 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -40,7 +40,7 @@ def search(): 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""") cursor.execute( |