Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
bca750dc
提交
bca750dc
编写于
5月 29, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
临时代理xxljob
上级
28a2bce4
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
217 行增加
和
0 行删除
+217
-0
xxl_job_20200529-2.xml
...main/resources/liquibase/changelog/xxl_job_20200529-2.xml
+217
-0
未找到文件。
ibzuaa-core/src/main/resources/liquibase/changelog/xxl_job_20200529-2.xml
0 → 100644
浏览文件 @
bca750dc
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext=
"http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd"
>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-1"
>
<createTable
tableName=
"xxl_job_group"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"INT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"app_name"
remarks=
"执行器AppName"
type=
"VARCHAR(64)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"title"
remarks=
"执行器名称"
type=
"VARCHAR(12)"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueNumeric=
"0"
name=
"order"
remarks=
"排序"
type=
"TINYINT(3)"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueNumeric=
"0"
name=
"address_type"
remarks=
"执行器地址类型:0=自动注册、1=手动录入"
type=
"TINYINT(3)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"address_list"
remarks=
"执行器地址列表,多地址逗号分隔"
type=
"VARCHAR(512)"
/>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-2"
>
<createTable
tableName=
"xxl_job_info"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"INT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"job_group"
remarks=
"执行器主键ID"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"job_cron"
remarks=
"任务执行CRON"
type=
"VARCHAR(128)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"job_desc"
type=
"VARCHAR(255)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"add_time"
type=
"datetime"
/>
<column
name=
"update_time"
type=
"datetime"
/>
<column
name=
"author"
remarks=
"作者"
type=
"VARCHAR(64)"
/>
<column
name=
"alarm_email"
remarks=
"报警邮件"
type=
"VARCHAR(255)"
/>
<column
name=
"executor_route_strategy"
remarks=
"执行器路由策略"
type=
"VARCHAR(50)"
/>
<column
name=
"executor_handler"
remarks=
"执行器任务handler"
type=
"VARCHAR(255)"
/>
<column
name=
"executor_param"
remarks=
"执行器任务参数"
type=
"VARCHAR(512)"
/>
<column
name=
"executor_block_strategy"
remarks=
"阻塞处理策略"
type=
"VARCHAR(50)"
/>
<column
defaultValueNumeric=
"0"
name=
"executor_timeout"
remarks=
"任务执行超时时间,单位秒"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueNumeric=
"0"
name=
"executor_fail_retry_count"
remarks=
"失败重试次数"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"glue_type"
remarks=
"GLUE类型"
type=
"VARCHAR(50)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"glue_source"
remarks=
"GLUE源代码"
type=
"MEDIUMTEXT"
/>
<column
name=
"glue_remark"
remarks=
"GLUE备注"
type=
"VARCHAR(128)"
/>
<column
name=
"glue_updatetime"
remarks=
"GLUE更新时间"
type=
"datetime"
/>
<column
name=
"child_jobid"
remarks=
"子任务ID,多个逗号分隔"
type=
"VARCHAR(255)"
/>
<column
defaultValueNumeric=
"0"
name=
"trigger_status"
remarks=
"调度状态:0-停止,1-运行"
type=
"TINYINT(3)"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueNumeric=
"0"
name=
"trigger_last_time"
remarks=
"上次调度时间"
type=
"BIGINT"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueNumeric=
"0"
name=
"trigger_next_time"
remarks=
"下次调度时间"
type=
"BIGINT"
>
<constraints
nullable=
"false"
/>
</column>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-3"
>
<createTable
tableName=
"xxl_job_lock"
>
<column
name=
"lock_name"
remarks=
"锁名称"
type=
"VARCHAR(50)"
>
<constraints
primaryKey=
"true"
/>
</column>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-4"
>
<createTable
tableName=
"xxl_job_log"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"BIGINT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"job_group"
remarks=
"执行器主键ID"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"job_id"
remarks=
"任务,主键ID"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"executor_address"
remarks=
"执行器地址,本次执行的地址"
type=
"VARCHAR(255)"
/>
<column
name=
"executor_handler"
remarks=
"执行器任务handler"
type=
"VARCHAR(255)"
/>
<column
name=
"executor_param"
remarks=
"执行器任务参数"
type=
"VARCHAR(512)"
/>
<column
name=
"executor_sharding_param"
remarks=
"执行器任务分片参数,格式如 1/2"
type=
"VARCHAR(20)"
/>
<column
defaultValueNumeric=
"0"
name=
"executor_fail_retry_count"
remarks=
"失败重试次数"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"trigger_time"
remarks=
"调度-时间"
type=
"datetime"
/>
<column
name=
"trigger_code"
remarks=
"调度-结果"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"trigger_msg"
remarks=
"调度-日志"
type=
"TEXT"
/>
<column
name=
"handle_time"
remarks=
"执行-时间"
type=
"datetime"
/>
<column
name=
"handle_code"
remarks=
"执行-状态"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"handle_msg"
remarks=
"执行-日志"
type=
"TEXT"
/>
<column
defaultValueNumeric=
"0"
name=
"alarm_status"
remarks=
"告警状态:0-默认、1-无需告警、2-告警成功、3-告警失败"
type=
"TINYINT(3)"
>
<constraints
nullable=
"false"
/>
</column>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-5"
>
<createTable
tableName=
"xxl_job_logglue"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"INT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"job_id"
remarks=
"任务,主键ID"
type=
"INT"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"glue_type"
remarks=
"GLUE类型"
type=
"VARCHAR(50)"
/>
<column
name=
"glue_source"
remarks=
"GLUE源代码"
type=
"MEDIUMTEXT"
/>
<column
name=
"glue_remark"
remarks=
"GLUE备注"
type=
"VARCHAR(128)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"add_time"
type=
"timestamp"
/>
<column
name=
"update_time"
type=
"timestamp"
/>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-6"
>
<createTable
tableName=
"xxl_job_registry"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"INT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"registry_group"
type=
"VARCHAR(255)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"registry_key"
type=
"VARCHAR(255)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"registry_value"
type=
"VARCHAR(255)"
>
<constraints
nullable=
"false"
/>
</column>
<column
defaultValueComputed=
"CURRENT_TIMESTAMP"
name=
"update_time"
type=
"timestamp"
>
<constraints
nullable=
"false"
/>
</column>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734259445-7"
>
<createTable
tableName=
"xxl_job_user"
>
<column
autoIncrement=
"true"
name=
"id"
type=
"INT"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"username"
remarks=
"账号"
type=
"VARCHAR(50)"
>
<constraints
nullable=
"false"
unique=
"true"
/>
</column>
<column
name=
"password"
remarks=
"密码"
type=
"VARCHAR(50)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"role"
remarks=
"角色:0-普通用户、1-管理员"
type=
"TINYINT(3)"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"permission"
remarks=
"权限:执行器ID列表,多个逗号分割"
type=
"VARCHAR(255)"
/>
</createTable>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734920859-1"
>
<insert
tableName=
"xxl_job_group"
>
<column
name=
"id"
valueNumeric=
"1"
/>
<column
name=
"app_name"
value=
"xxl-job-executor-sample"
/>
<column
name=
"title"
value=
"示例执行器"
/>
<column
name=
"order"
valueNumeric=
"100"
/>
<column
name=
"address_type"
valueNumeric=
"0"
/>
<column
name=
"address_list"
/>
</insert>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734920859-2"
>
<insert
tableName=
"xxl_job_info"
>
<column
name=
"id"
valueNumeric=
"1"
/>
<column
name=
"job_group"
valueNumeric=
"1"
/>
<column
name=
"job_cron"
value=
"0 * * * * ? *"
/>
<column
name=
"job_desc"
value=
"测试任务1"
/>
<column
name=
"add_time"
valueDate=
"2018-11-04T06:21:31"
/>
<column
name=
"update_time"
valueDate=
"2019-10-23T20:40:17"
/>
<column
name=
"author"
value=
"XXL"
/>
<column
name=
"alarm_email"
value=
""
/>
<column
name=
"executor_route_strategy"
value=
"FIRST"
/>
<column
name=
"executor_handler"
value=
"demoJobHandler"
/>
<column
name=
"executor_param"
value=
""
/>
<column
name=
"executor_block_strategy"
value=
"SERIAL_EXECUTION"
/>
<column
name=
"executor_timeout"
valueNumeric=
"0"
/>
<column
name=
"executor_fail_retry_count"
valueNumeric=
"0"
/>
<column
name=
"glue_type"
value=
"BEAN"
/>
<column
name=
"glue_source"
value=
""
/>
<column
name=
"glue_remark"
value=
"GLUE代码初始化"
/>
<column
name=
"glue_updatetime"
valueDate=
"2018-11-04T06:21:31"
/>
<column
name=
"child_jobid"
value=
""
/>
<column
name=
"trigger_status"
valueNumeric=
"0"
/>
<column
name=
"trigger_last_time"
valueNumeric=
"0"
/>
<column
name=
"trigger_next_time"
valueNumeric=
"0"
/>
</insert>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734920859-6"
>
<insert
tableName=
"xxl_job_user"
>
<column
name=
"id"
valueNumeric=
"2"
/>
<column
name=
"username"
value=
"ibzadmin"
/>
<column
name=
"password"
value=
"e10adc3949ba59abbe56e057f20f883e"
/>
<column
name=
"role"
valueNumeric=
"1"
/>
<column
name=
"permission"
value=
""
/>
</insert>
</changeSet>
<changeSet
author=
"Think (generated)"
id=
"1590734920859-3"
>
<insert
tableName=
"xxl_job_lock"
>
<column
name=
"lock_name"
value=
"schedule_lock"
/>
</insert>
</changeSet>
</databaseChangeLog>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录