diff --git a/workflow-engine-core/src/main/resources/sql/upgrade_to_1.4.2.sql b/workflow-engine-core/src/main/resources/sql/upgrade_to_1.4.2.sql index fd73d58e1..19f94326e 100644 --- a/workflow-engine-core/src/main/resources/sql/upgrade_to_1.4.2.sql +++ b/workflow-engine-core/src/main/resources/sql/upgrade_to_1.4.2.sql @@ -12,8 +12,8 @@ create table `workflow-engine`.ext_ax_process_log advice varchar(4000) default '' not null comment '操作建议', operation_desc varchar(4000) default '' not null comment '操作描述', assignee varchar(1024) default '' not null comment '审批人', - start_time datetime(3) default CURRENT_TIMESTAMP not null comment '任务开始时间', - end_time datetime(3) null comment '任务结束时间', + start_time datetime(3) default CURRENT_TIMESTAMP(3) not null comment '任务开始时间', + end_time datetime(3) null comment '任务结束时间', returned tinyint(1) default 0 not null comment '已回退', status varchar(16) default '' not null comment '任务状态:审批中/通过/驳回/转交/加签', create_at datetime default CURRENT_TIMESTAMP not null comment '创建时间', @@ -21,6 +21,3 @@ create table `workflow-engine`.ext_ax_process_log is_delete bigint default 0 not null comment '是否删除' ) comment '审批日志持久化'; - - -