mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
17 lines
423 B
SQL
17 lines
423 B
SQL
CREATE TABLE playbook (
|
|
playbookid varchar(36) PRIMARY KEY,
|
|
playbookname varchar(100) NOT NULL,
|
|
description text NOT NULL,
|
|
entryids json NOT NULL
|
|
);
|
|
|
|
CREATE TABLE playbook_entry (
|
|
entryid varchar(36) PRIMARY KEY,
|
|
playbookid varchar(36) NOT NULL,
|
|
description text NOT NULL,
|
|
alias varchar(50) NOT NULL,
|
|
cmdstr text NOT NULL,
|
|
createdts bigint NOT NULL,
|
|
updatedts bigint NOT NULL
|
|
);
|