From cfdd687216799cb5b47f099f1e7cd5dd16b3bdd0 Mon Sep 17 00:00:00 2001
From: Kujtim Hoxha <kujtimii.h@gmail.com>
Date: Thu, 3 Apr 2025 15:20:15 +0200
Subject: add initial lsp support

---
 internal/db/migrations/000001_initial.up.sql | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'internal/db/migrations/000001_initial.up.sql')

diff --git a/internal/db/migrations/000001_initial.up.sql b/internal/db/migrations/000001_initial.up.sql
index d4a5e39fe..2fbe5547e 100644
--- a/internal/db/migrations/000001_initial.up.sql
+++ b/internal/db/migrations/000001_initial.up.sql
@@ -23,11 +23,7 @@ CREATE TABLE IF NOT EXISTS messages (
     id TEXT PRIMARY KEY,
     session_id TEXT NOT NULL,
     role TEXT NOT NULL,
-    content TEXT NOT NULL,
-    thinking Text NOT NULL DEFAULT '',
-    finished BOOLEAN NOT NULL DEFAULT 0,
-    tool_calls TEXT,
-    tool_results TEXT,
+    parts TEXT NOT NULL default '[]',
     created_at INTEGER NOT NULL,  -- Unix timestamp in milliseconds
     updated_at INTEGER NOT NULL,  -- Unix timestamp in milliseconds
     FOREIGN KEY (session_id) REFERENCES sessions (id) ON DELETE CASCADE
-- 
cgit v1.2.3

