From 4818bc542611b3ab554824fece8a071b0ac6307b Mon Sep 17 00:00:00 2001
From: adamdottv <2363879+adamdottv@users.noreply.github.com>
Date: Thu, 29 May 2025 15:41:13 -0500
Subject: wip: refactoring tui

---
 internal/db/sql/sessions.sql | 50 --------------------------------------------
 1 file changed, 50 deletions(-)
 delete mode 100644 internal/db/sql/sessions.sql

(limited to 'internal/db/sql/sessions.sql')

diff --git a/internal/db/sql/sessions.sql b/internal/db/sql/sessions.sql
deleted file mode 100644
index fd7ffe56c..000000000
--- a/internal/db/sql/sessions.sql
+++ /dev/null
@@ -1,50 +0,0 @@
--- name: CreateSession :one
-INSERT INTO sessions (
-    id,
-    parent_session_id,
-    title,
-    message_count,
-    prompt_tokens,
-    completion_tokens,
-    cost,
-    summary,
-    summarized_at
-) VALUES (
-    ?,
-    ?,
-    ?,
-    ?,
-    ?,
-    ?,
-    ?,
-    ?,
-    ?
-) RETURNING *;
-
--- name: GetSessionByID :one
-SELECT *
-FROM sessions
-WHERE id = ? LIMIT 1;
-
--- name: ListSessions :many
-SELECT *
-FROM sessions
-WHERE parent_session_id is NULL
-ORDER BY created_at DESC;
-
--- name: UpdateSession :one
-UPDATE sessions
-SET
-    title = ?,
-    prompt_tokens = ?,
-    completion_tokens = ?,
-    cost = ?,
-    summary = ?,
-    summarized_at = ?
-WHERE id = ?
-RETURNING *;
-
-
--- name: DeleteSession :exec
-DELETE FROM sessions
-WHERE id = ?;
-- 
cgit v1.2.3

