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);