waveterm/db/migrations-wstore/000001_init.up.sql

31 lines
554 B
MySQL
Raw Normal View History

2024-05-21 20:09:22 +02:00
CREATE TABLE db_client (
2024-05-26 20:59:14 +02:00
oid varchar(36) PRIMARY KEY,
version int NOT NULL,
2024-05-21 20:09:22 +02:00
data json NOT NULL
);
CREATE TABLE db_window (
2024-05-26 20:59:14 +02:00
oid varchar(36) PRIMARY KEY,
version int NOT NULL,
data json NOT NULL
);
2024-05-21 20:09:22 +02:00
CREATE TABLE db_workspace (
2024-05-26 20:59:14 +02:00
oid varchar(36) PRIMARY KEY,
version int NOT NULL,
2024-05-21 20:09:22 +02:00
data json NOT NULL
);
CREATE TABLE db_tab (
2024-05-26 20:59:14 +02:00
oid varchar(36) PRIMARY KEY,
version int NOT NULL,
2024-05-21 20:09:22 +02:00
data json NOT NULL
);
CREATE TABLE db_block (
2024-05-26 20:59:14 +02:00
oid varchar(36) PRIMARY KEY,
version int NOT NULL,
2024-05-21 20:09:22 +02:00
data json NOT NULL
);