forked from qinsehm1128/claude-code-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseed.sql
More file actions
34 lines (32 loc) · 916 Bytes
/
seed.sql
File metadata and controls
34 lines (32 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
CREATE TABLE sessions (
id text primary key,
claude_session_id text,
status text not null,
title text,
cwd text,
allowed_tools text,
last_prompt text,
created_at integer not null,
updated_at integer not null
)
CREATE TABLE stream_items (
id text primary key,
session_id text not null,
kind text not null,
timestamp integer not null,
payload text not null,
foreign key (session_id) references sessions(id)
)
CREATE TABLE ui_requests (
id text primary key,
session_id text not null,
title text not null,
prompt text not null,
mode text not null,
options text,
fields text,
danger integer,
created_at integer not null,
resolved_at integer,
foreign key (session_id) references sessions(id)
)