diff --git a/api/app/lib/models/alarm_push_config.js b/api/app/lib/models/alarm_push_config.js index 0472461..515e635 100644 --- a/api/app/lib/models/alarm_push_config.js +++ b/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 diff --git a/script/0.11/schema/1.alter_alarm_push_config.sql b/script/0.11/schema/1.alter_alarm_push_config.sql index af3ccc1..b48458e 100644 --- a/script/0.11/schema/1.alter_alarm_push_config.sql +++ b/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'; \ No newline at end of file +comment on column alarm_push_config.poms_struc_factor_id is '结构物对应监测项 id'; \ No newline at end of file