Browse Source

应用告警 type

dev
巴林闲侠 2 years ago
parent
commit
e364664423
  1. 2
      api/app/lib/models/app_alarm.js
  2. 2
      script/0.0.4/schema/1.alert_table.sql

2
api/app/lib/models/app_alarm.js

@ -128,7 +128,7 @@ module.exports = dc => {
autoIncrement: false
},
type: {
type: DataTypes.INTEGER,
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: null,

2
script/0.0.4/schema/1.alert_table.sql

@ -1,2 +1,2 @@
alter table app_alarm
add type int;
add type varchar(64);

Loading…
Cancel
Save