Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d20e1faf
authored
Nov 19, 2019
by
许雪里
Committed by
GitHub
Nov 19, 2019
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #1059 from meigesir/patch-1
Fixed: mysql emoji issue
parents
0b9153f1
669e12e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
doc/db/tables_xxl_job.sql
doc/db/tables_xxl_job.sql
View file @
d20e1faf
...
...
@@ -2,7 +2,7 @@
#
XXL
-
JOB
v2
.
1
.
1
-
SNAPSHOT
#
Copyright
(
c
)
2015
-
present
,
xuxueli
.
CREATE
database
if
NOT
EXISTS
`xxl_job`
default
character
set
utf8
collate
utf8
_general_ci
;
CREATE
database
if
NOT
EXISTS
`xxl_job`
default
character
set
utf8
mb4
collate
utf8mb4
_general_ci
;
use
`xxl_job`
;
...
...
@@ -30,7 +30,7 @@ CREATE TABLE `xxl_job_info` (
`trigger_last_time`
bigint
(
13
)
NOT
NULL
DEFAULT
'0'
COMMENT
'上次调度时间'
,
`trigger_next_time`
bigint
(
13
)
NOT
NULL
DEFAULT
'0'
COMMENT
'下次调度时间'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_log`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
...
...
@@ -51,7 +51,7 @@ CREATE TABLE `xxl_job_log` (
PRIMARY
KEY
(
`id`
),
KEY
`I_trigger_time`
(
`trigger_time`
),
KEY
`I_handle_code`
(
`handle_code`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_logglue`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
...
...
@@ -62,7 +62,7 @@ CREATE TABLE `xxl_job_logglue` (
`add_time`
timestamp
NULL
DEFAULT
NULL
,
`update_time`
timestamp
NULL
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_registry`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
...
...
@@ -72,7 +72,7 @@ CREATE TABLE `xxl_job_registry` (
`update_time`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
),
KEY
`i_g_k_v`
(
`registry_group`
,
`registry_key`
,
`registry_value`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_group`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
...
...
@@ -82,7 +82,7 @@ CREATE TABLE `xxl_job_group` (
`address_type`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'执行器地址类型:0=自动注册、1=手动录入'
,
`address_list`
varchar
(
512
)
DEFAULT
NULL
COMMENT
'执行器地址列表,多地址逗号分隔'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_user`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
...
...
@@ -92,12 +92,12 @@ CREATE TABLE `xxl_job_user` (
`permission`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'权限:执行器ID列表,多个逗号分割'
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`i_username`
(
`username`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
CREATE
TABLE
`xxl_job_lock`
(
`lock_name`
varchar
(
50
)
NOT
NULL
COMMENT
'锁名称'
,
PRIMARY
KEY
(
`lock_name`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
mb4
;
INSERT
INTO
`xxl_job_group`
(
`id`
,
`app_name`
,
`title`
,
`order`
,
`address_type`
,
`address_list`
)
VALUES
(
1
,
'xxl-job-executor-sample'
,
'示例执行器'
,
1
,
0
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment