summaryrefslogtreecommitdiffhomepage
path: root/internal/db/sql/sessions.sql
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/sql/sessions.sql')
-rw-r--r--internal/db/sql/sessions.sql8
1 files changed, 2 insertions, 6 deletions
diff --git a/internal/db/sql/sessions.sql b/internal/db/sql/sessions.sql
index 81abebd3c..fd7ffe56c 100644
--- a/internal/db/sql/sessions.sql
+++ b/internal/db/sql/sessions.sql
@@ -8,9 +8,7 @@ INSERT INTO sessions (
completion_tokens,
cost,
summary,
- summarized_at,
- updated_at,
- created_at
+ summarized_at
) VALUES (
?,
?,
@@ -20,9 +18,7 @@ INSERT INTO sessions (
?,
?,
?,
- ?,
- strftime('%s', 'now'),
- strftime('%s', 'now')
+ ?
) RETURNING *;
-- name: GetSessionByID :one