Skip to content

Commit

Permalink
[script] update schema.sql to fix job_id not null (#729)
Browse files Browse the repository at this point in the history
monitor表的jobid字段去掉非空限制;
  • Loading branch information
mangel2002 authored and tomsun28 committed Jan 16, 2024
1 parent ba7fb25 commit 8ff37a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DROP TABLE IF EXISTS hzb_monitor ;
CREATE TABLE hzb_monitor
(
id bigint not null auto_increment comment '监控ID',
job_id bigint not null comment '监控对应下发的任务ID',
job_id bigint comment '监控对应下发的任务ID',
name varchar(100) not null comment '监控的名称',
app varchar(100) not null comment '监控的类型:linux,mysql,jvm...',
host varchar(100) not null comment '监控的对端host:ipv4,ipv6,域名',
Expand Down

0 comments on commit 8ff37a9

Please sign in to comment.