Browse Source

poms_struc_factor_id

dev
wenlele 2 years ago
parent
commit
d605bf2115
  1. 4
      api/app/lib/models/alarm_push_config.js
  2. 2
      script/0.11/schema/1.alter_alarm_push_config.sql

4
api/app/lib/models/alarm_push_config.js

@ -46,7 +46,7 @@ module.exports = dc => {
type: DataTypes.JSONB,
allowNull: true,
defaultValue: null,
comment: "监听的告警类型",
comment: "监听的告警类型的子类id的关联",
primaryKey: false,
field: "alarm_sub_type",
autoIncrement: false
@ -55,7 +55,7 @@ module.exports = dc => {
type: DataTypes.JSONB,
allowNull: true,
defaultValue: null,
comment: "监听的告警类型",
comment: "结构物与监测项id的关联",
primaryKey: false,
field: "poms_struc_factor_id",
autoIncrement: false

2
script/0.11/schema/1.alter_alarm_push_config.sql

@ -1,4 +1,4 @@
alter table alarm_push_config
add poms_struc_factor_id jsonb;
comment on column alarm_push_config.poms_project_factor_id is '结构物对应监测项 id';
comment on column alarm_push_config.poms_struc_factor_id is '结构物对应监测项 id';
Loading…
Cancel
Save