feat(REQ-2924) - 新版日志表脚本添加索引

This commit is contained in:
wangli 2024-09-14 13:56:57 +08:00
parent 2b22fe42db
commit 668edf04ca

View File

@ -26,3 +26,8 @@ create table `workflow-engine`.ext_ax_process_log
update_at datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '更新时间',
is_delete bigint default 0 not null comment '是否删除'
) comment '审批日志持久化';
create unique index idx_process_task_status
on ext_ax_process_log (process_instance_id, task_id, status, is_delete);