| 1234567891011121314151617181920212223242526272829 |
- create table sj_workflow_node
- (
- id bigint unsigned auto_increment comment '主键'
- primary key,
- namespace_id varchar(64) default '764d604ec6fc45f68cd92514c40e9e1a' not null comment '命名空间id',
- node_name varchar(64) not null comment '节点名称',
- group_name varchar(64) not null comment '组名称',
- job_id bigint not null comment '任务信息id',
- workflow_id bigint not null comment '工作流ID',
- node_type tinyint default 1 not null comment '1、任务节点 2、条件节点',
- expression_type tinyint default 0 not null comment '1、SpEl、2、Aviator 3、QL',
- fail_strategy tinyint default 1 not null comment '失败策略 1、跳过 2、阻塞',
- workflow_node_status tinyint default 1 not null comment '工作流节点状态 0、关闭、1、开启',
- priority_level int default 1 not null comment '优先级',
- node_info text null comment '节点信息 ',
- version int not null comment '版本号',
- ext_attrs varchar(256) default '' null comment '扩展字段',
- deleted tinyint default 0 not null comment '逻辑删除 1、删除',
- create_dt datetime default CURRENT_TIMESTAMP not null comment '创建时间',
- update_dt datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '修改时间'
- )
- comment '工作流节点';
- create index idx_create_dt
- on sj_workflow_node (create_dt);
- create index idx_namespace_id_group_name
- on sj_workflow_node (namespace_id, group_name);
|