diff options
author | Grail Finder <wohilas@gmail.com> | 2024-12-05 18:36:05 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2024-12-05 18:36:05 +0300 |
commit | 990e0695c582c2c8d647c258cde0342ac14e3a75 (patch) | |
tree | f773fa8cbd7b86e5cd62517d7d6bb4aebb179bd2 /storage/migrations/001_init.up.sql | |
parent | b9a5c681a6620d9cf68e42fc4ec15d860f50ecd1 (diff) |
Enha: add agent to chat history; gen-regen diff
Diffstat (limited to 'storage/migrations/001_init.up.sql')
-rw-r--r-- | storage/migrations/001_init.up.sql | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |