mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: add 4.2.x upgrade SQL
This commit is contained in:
parent
2f62f448a8
commit
5b68b4dc75
@ -110,6 +110,8 @@ CREATE TABLE `job_info`
|
|||||||
`task_retry_num` int not NULL default 0 COMMENT 'Task重试次数',
|
`task_retry_num` int not NULL default 0 COMMENT 'Task重试次数',
|
||||||
`time_expression` varchar(255) default NULL COMMENT '时间表达式,内容取决于time_expression_type,1:CRON/2:NULL/3:LONG/4:LONG',
|
`time_expression` varchar(255) default NULL COMMENT '时间表达式,内容取决于time_expression_type,1:CRON/2:NULL/3:LONG/4:LONG',
|
||||||
`time_expression_type` int not NULL COMMENT '时间表达式类型,1:CRON/2:API/3:FIX_RATE/4:FIX_DELAY,5:WORKFLOW\n)',
|
`time_expression_type` int not NULL COMMENT '时间表达式类型,1:CRON/2:API/3:FIX_RATE/4:FIX_DELAY,5:WORKFLOW\n)',
|
||||||
|
`tag` varchar(255) DEFAULT NULL COMMENT 'TAG',
|
||||||
|
`log_config` varchar(255) DEFAULT NULL COMMENT '日志配置',
|
||||||
`extra` varchar(255) DEFAULT NULL COMMENT '扩展字段',
|
`extra` varchar(255) DEFAULT NULL COMMENT '扩展字段',
|
||||||
`gmt_create` datetime not NULL COMMENT '创建时间',
|
`gmt_create` datetime not NULL COMMENT '创建时间',
|
||||||
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
-- Upgrade SQL FROM 4.0.x to 4.1.x
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table change for workflow_instance_info
|
-- Table change for workflow_instance_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
6
others/sql/upgrade/v4.1.x-v4.2.x.sql
Normal file
6
others/sql/upgrade/v4.1.x-v4.2.x.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Upgrade SQL FROM 4.1.x to 4.2.x
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table change for job_info
|
||||||
|
-- ----------------------------
|
||||||
|
alter table job_info add tag varchar(255) comment 'TAG' default null;
|
||||||
|
alter table job_info add log_config varchar(255) comment 'logConfig' default null;
|
Loading…
x
Reference in New Issue
Block a user