mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
21 lines
463 B
SQL
21 lines
463 B
SQL
CREATE TABLE db_client (
|
|
clientid varchar(36) PRIMARY KEY, -- unnecessary, but useful to have a PK
|
|
data json NOT NULL
|
|
);
|
|
|
|
CREATE TABLE db_workspace (
|
|
workspaceid varchar(36) PRIMARY KEY,
|
|
data json NOT NULL
|
|
);
|
|
|
|
CREATE TABLE db_tab (
|
|
tabid varchar(36) PRIMARY KEY,
|
|
data json NOT NULL
|
|
);
|
|
|
|
CREATE TABLE db_block (
|
|
blockid varchar(36) PRIMARY KEY,
|
|
tabid varchar(36) NOT NULL, -- the tab this block belongs to
|
|
data json NOT NULL
|
|
);
|