Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
248fadf0
Unverified
Commit
248fadf0
authored
Feb 27, 2024
by
Zzm0809
Committed by
GitHub
Feb 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fix] fix h2 alert_instance table filed type json error (#3186)
parent
1d9f9cb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
db-h2-ddl.sql
dinky-admin/src/main/resources/db/db-h2-ddl.sql
+3
-6
No files found.
dinky-admin/src/main/resources/db/db-h2-ddl.sql
View file @
248fadf0
...
@@ -34,7 +34,7 @@ CREATE TABLE `dinky_alert_instance` (
...
@@ -34,7 +34,7 @@ CREATE TABLE `dinky_alert_instance` (
`name`
varchar
(
50
)
NOT
null
COMMENT
'alert instance name'
,
`name`
varchar
(
50
)
NOT
null
COMMENT
'alert instance name'
,
`tenant_id`
int
(
11
)
NOT
null
DEFAULT
1
COMMENT
'tenant id'
,
`tenant_id`
int
(
11
)
NOT
null
DEFAULT
1
COMMENT
'tenant id'
,
`type`
varchar
(
50
)
null
DEFAULT
null
COMMENT
'alert instance type such as: DingTalk,Wechat(Webhook,app) Feishu ,email'
,
`type`
varchar
(
50
)
null
DEFAULT
null
COMMENT
'alert instance type such as: DingTalk,Wechat(Webhook,app) Feishu ,email'
,
`params`
json
null
COMMENT
'configuration'
,
`params`
longtext
null
COMMENT
'configuration'
,
`enabled`
tinyint
(
4
)
null
DEFAULT
1
COMMENT
'is enable'
,
`enabled`
tinyint
(
4
)
null
DEFAULT
1
COMMENT
'is enable'
,
`create_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'create time'
,
`create_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'create time'
,
`update_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'update time'
,
`update_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'update time'
,
...
@@ -163,9 +163,7 @@ CREATE TABLE `dinky_history` (
...
@@ -163,9 +163,7 @@ CREATE TABLE `dinky_history` (
`config_json`
text
null
COMMENT
'config json'
,
`config_json`
text
null
COMMENT
'config json'
,
`start_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'job start time'
,
`start_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'job start time'
,
`end_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'job end time'
,
`end_time`
datetime
(
0
)
null
DEFAULT
null
COMMENT
'job end time'
,
`task_id`
int
(
11
)
null
DEFAULT
null
COMMENT
'task ID'
,
`task_id`
int
(
11
)
null
DEFAULT
null
COMMENT
'task ID'
INDEX
task_index1
(
`task_id`
),
INDEX
cluster_index2
(
`cluster_id`
)
)
ENGINE
=
InnoDB
ROW_FORMAT
=
Dynamic
;
)
ENGINE
=
InnoDB
ROW_FORMAT
=
Dynamic
;
...
@@ -200,8 +198,7 @@ CREATE TABLE `dinky_job_instance` (
...
@@ -200,8 +198,7 @@ CREATE TABLE `dinky_job_instance` (
`failed_restart_count`
int
(
11
)
null
DEFAULT
null
COMMENT
'failed restart count'
,
`failed_restart_count`
int
(
11
)
null
DEFAULT
null
COMMENT
'failed restart count'
,
`creator`
int
(
11
)
null
DEFAULT
null
COMMENT
'creator'
,
`creator`
int
(
11
)
null
DEFAULT
null
COMMENT
'creator'
,
`updater`
int
(
11
)
null
DEFAULT
null
COMMENT
'updater'
,
`updater`
int
(
11
)
null
DEFAULT
null
COMMENT
'updater'
,
`operator`
int
(
11
)
null
DEFAULT
null
COMMENT
'operator'
,
`operator`
int
(
11
)
null
DEFAULT
null
COMMENT
'operator'
INDEX
job_instance_task_id_idx13
(
`task_id`
)
)
ENGINE
=
InnoDB
ROW_FORMAT
=
Dynamic
;
)
ENGINE
=
InnoDB
ROW_FORMAT
=
Dynamic
;
...
...
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