mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-07 19:28:44 +01:00
17 lines
423 B
MySQL
17 lines
423 B
MySQL
|
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
|
||
|
);
|