update 优化 表sql书写格式

This commit is contained in:
疯狂的狮子Li
2025-08-16 11:31:45 +08:00
parent ac56ca0e81
commit f02601ab2c
12 changed files with 319 additions and 155 deletions

View File

@ -35,3 +35,23 @@ update flow_skip set skip_condition = REPLACE(skip_condition,'notNike','notLike'
ALTER TABLE `flow_his_task`
MODIFY COLUMN `collaborator` varchar(500) NULL DEFAULT NULL COMMENT '协作人' AFTER `cooperate_type`;
-- ----------------------------
-- 流程实例业务扩展表
-- ----------------------------
create table flow_instance_biz_ext (
id bigint not null comment '主键id',
tenant_id varchar(20) default '000000' null comment '租户编号',
create_dept bigint null comment '创建部门',
create_by bigint null comment '创建者',
create_time datetime null comment '创建时间',
update_by bigint null comment '更新者',
update_time datetime null comment '更新时间',
business_code varchar(255) null comment '业务编码',
business_title varchar(1000) null comment '业务标题',
del_flag char default '0' null comment '删除标志0代表存在 1代表删除',
instance_id bigint null comment '流程实例Id',
business_id varchar(255) null comment '业务Id',
PRIMARY KEY (id)
) ENGINE = InnoDB COMMENT '流程实例业务扩展表';