| 1234567891011121314151617 |
- create table sj_notify_recipient
- (
- id bigint unsigned auto_increment comment '主键'
- primary key,
- namespace_id varchar(64) default '764d604ec6fc45f68cd92514c40e9e1a' not null comment '命名空间id',
- recipient_name varchar(64) not null comment '接收人名称',
- notify_type tinyint default 0 not null comment '通知类型 1、钉钉 2、邮件 3、企业微信 4 飞书 5 webhook',
- notify_attribute varchar(512) not null comment '配置属性',
- description varchar(256) default '' not null comment '描述',
- create_dt datetime default CURRENT_TIMESTAMP not null comment '创建时间',
- update_dt datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '修改时间'
- )
- comment '告警通知接收人';
- create index idx_namespace_id
- on sj_notify_recipient (namespace_id);
|