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.
16 lines
487 B
16 lines
487 B
alter table alarm_push_config
|
|
add alarm_sub_type jsonb;
|
|
|
|
comment on column alarm_push_config.alarm_sub_type is '存对应监听模块(alarm_type)的子类(
|
|
数据告警:alarms.AlarmGroupUnit,
|
|
视频异常:camera.kind_id,
|
|
应用异常:app_alarm.errType
|
|
)';
|
|
|
|
|
|
ALTER TABLE alarm_push_config ALTER COLUMN poms_project_id TYPE INTEGER []
|
|
USING CASE
|
|
WHEN poms_project_id is NULL
|
|
then NULL
|
|
ELSE array [poms_project_id]
|
|
END ::INTEGER [];
|