From 990e0695c582c2c8d647c258cde0342ac14e3a75 Mon Sep 17 00:00:00 2001
From: Grail Finder <wohilas@gmail.com>
Date: Thu, 5 Dec 2024 18:36:05 +0300
Subject: Enha: add agent to chat history; gen-regen diff

---
 storage/migrations/001_init.up.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'storage/migrations/001_init.up.sql')

diff --git a/storage/migrations/001_init.up.sql b/storage/migrations/001_init.up.sql
index 8980ccf..09bb5e6 100644
--- a/storage/migrations/001_init.up.sql
+++ b/storage/migrations/001_init.up.sql
@@ -2,6 +2,7 @@ CREATE TABLE IF NOT EXISTS chats (
     id INTEGER PRIMARY KEY AUTOINCREMENT,
     name TEXT NOT NULL,
     msgs TEXT NOT NULL,
+    agent TEXT NOT NULL DEFAULT 'assistant',
     created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
     updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
 );
-- 
cgit v1.2.3

