mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-10 19:58:00 +01:00
update schema
This commit is contained in:
parent
cd41be5d04
commit
0696669c53
@ -7,7 +7,7 @@ CREATE TABLE client (
|
||||
userpublickeybytes blob NOT NULL,
|
||||
userprivatekeybytes blob NOT NULL,
|
||||
winsize json NOT NULL
|
||||
);
|
||||
, clientopts json NOT NULL DEFAULT '');
|
||||
CREATE TABLE session (
|
||||
sessionid varchar(36) PRIMARY KEY,
|
||||
name varchar(50) NOT NULL,
|
||||
@ -97,7 +97,7 @@ CREATE TABLE line (
|
||||
ephemeral boolean NOT NULL,
|
||||
contentheight int NOT NULL,
|
||||
star int NOT NULL,
|
||||
hidden boolean NOT NULL,
|
||||
archived boolean NOT NULL,
|
||||
PRIMARY KEY (sessionid, windowid, lineid)
|
||||
);
|
||||
CREATE TABLE remote (
|
||||
@ -156,3 +156,12 @@ CREATE TABLE history (
|
||||
ismetacmd boolean,
|
||||
incognito boolean
|
||||
);
|
||||
CREATE TABLE activity (
|
||||
day varchar(20) PRIMARY KEY,
|
||||
uploaded boolean NOT NULL,
|
||||
tdata json NOT NULL,
|
||||
tzname varchar(50) NOT NULL,
|
||||
tzoffset int NOT NULL,
|
||||
clientversion varchar(20) NOT NULL,
|
||||
clientarch varchar(20) NOT NULL
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user