feat #I63B4Y 增加 sql-lite sql 文件
This commit is contained in:
parent
cec930269a
commit
d0a4bcd658
|
@ -0,0 +1,10 @@
|
|||
DELETE FROM EL_TABLE;
|
||||
|
||||
INSERT INTO EL_TABLE (APPLICATION_NAME,CHAIN_NAME,EL_DATA) values ('demo','chain1','THEN(a, b, c);');
|
||||
INSERT INTO EL_TABLE (APPLICATION_NAME,CHAIN_NAME,EL_DATA) values ('demo','chain2','THEN(a, b, c);');
|
||||
INSERT INTO EL_TABLE (APPLICATION_NAME,CHAIN_NAME,EL_DATA) values ('demo','chain3','IF(x0, THEN(a, b));');
|
||||
|
||||
DELETE FROM SCRIPT_NODE_TABLE;
|
||||
|
||||
INSERT INTO SCRIPT_NODE_TABLE (APPLICATION_NAME,SCRIPT_NODE_ID,SCRIPT_NODE_NAME,SCRIPT_NODE_TYPE,SCRIPT_NODE_DATA) values ('demo','x0','if 脚本','if_script','return true');
|
||||
INSERT INTO SCRIPT_NODE_TABLE (APPLICATION_NAME,SCRIPT_NODE_ID,SCRIPT_NODE_NAME,SCRIPT_NODE_TYPE,SCRIPT_NODE_DATA) values ('demo','x1','if 脚本','if_script','return false');
|
|
@ -0,0 +1,19 @@
|
|||
create table `EL_TABLE`
|
||||
(
|
||||
`id` integer NOT NULL,
|
||||
`application_name` text NOT NULL,
|
||||
`chain_name` text NOT NULL,
|
||||
`el_data` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
create table `script_node_table`
|
||||
(
|
||||
`id` integer NOT NULL,
|
||||
`application_name` text NOT NULL,
|
||||
`script_node_id` text NOT NULL,
|
||||
`script_node_name` text NOT NULL,
|
||||
`script_node_type` text NOT NULL,
|
||||
`script_node_data` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
Loading…
Reference in New Issue