Fix jwt-token
This commit is contained in:
@@ -74,8 +74,11 @@ module.exports = (sequelize) => {
|
||||
comment: 'Whether this detection has been processed for alerts'
|
||||
},
|
||||
threat_level: {
|
||||
type: DataTypes.ENUM('monitoring', 'low', 'medium', 'high', 'critical'),
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
validate: {
|
||||
isIn: [['monitoring', 'low', 'medium', 'high', 'critical']]
|
||||
},
|
||||
comment: 'Assessed threat level based on RSSI and drone type'
|
||||
},
|
||||
estimated_distance: {
|
||||
|
||||
Reference in New Issue
Block a user