You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
426 B
23 lines
426 B
|
|
|
|
create table alarm_appear_record
|
|
(
|
|
id serial not null,
|
|
project_correlation_id int not null,
|
|
alarm_info json not null,
|
|
time timestamp,
|
|
type varchar null
|
|
);
|
|
|
|
comment on table alarm_appear_record is '告警出现记录到日志';
|
|
|
|
create unique index alarm_appear_record_id_uindex
|
|
on alarm_appear_record (id);
|
|
|
|
alter table alarm_appear_record
|
|
add constraint alarm_appear_record_pk
|
|
primary key (id);
|
|
|
|
|
|
|
|
|
|
|