create table public.system_problem(
    id  serial primary key,
    type varchar(20)
);
comment on column public.system_problem.type is '问题类型：数据库异常、es异常、kafka异常、服务器异常、应用异常、其他';

insert into system_problem ( type)values ('es异常');
insert into system_problem (type)values ('数据库异常');
insert into system_problem (type)values ('应用异常');
insert into system_problem (type)values ('kafka异常');
insert into system_problem (type)values ('服务器异常');
insert into system_problem (type)values ('DAC进程异常');
insert into system_problem (type)values ('K8S集群异常');
insert into system_problem (type)values ('redis服务异常');
insert into system_problem (type)values ('其他');
