diff options
author | Alexander_Kabui | 2024-05-24 17:18:55 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-05-24 17:18:55 +0300 |
commit | a3284926aaa73ce27565e4a1131d4447a3a7face (patch) | |
tree | 6264702638f013d1db8437f14b1a90c10ec587cf /gn3/api | |
parent | 3ea881f3bc28e8087be08f1d507991ac9b2a4230 (diff) | |
download | genenetwork3-a3284926aaa73ce27565e4a1131d4447a3a7face.tar.gz |
Add created_at timestamp to History table.
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/llm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index c1f6304..5924f12 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -40,6 +40,7 @@ def search(): task_id TEXT NOT NULL, query TEXT NOT NULL, results TEXT, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY(task_id)) WITHOUT ROWID""") cursor.execute( """INSERT INTO history(user_id, task_id, query, results) |