Fix jwt-token

This commit is contained in:
2025-08-18 06:14:28 +02:00
parent c8c1cd95dd
commit c0d1fff02f
3 changed files with 15 additions and 6 deletions

View File

@@ -99,6 +99,11 @@ module.exports = (sequelize) => {
defaultValue: 'medium',
comment: 'Alert priority level'
},
min_threat_level: {
type: DataTypes.ENUM('monitoring', 'low', 'medium', 'high', 'critical'),
allowNull: true,
comment: 'Minimum threat level required to trigger alert'
},
created_at: {
type: DataTypes.DATE,
defaultValue: DataTypes.NOW