Fix jwt-token

This commit is contained in:
2025-09-15 15:21:39 +02:00
parent 995ef9d7c7
commit a7a7e8a58b
2 changed files with 11 additions and 0 deletions

View File

@@ -23,6 +23,14 @@ module.exports = (sequelize) => {
key: 'id'
}
},
device_id: {
type: DataTypes.UUID,
allowNull: true, // Allow null for testing
references: {
model: 'devices',
key: 'id'
}
},
alert_type: {
type: DataTypes.ENUM('sms', 'email', 'webhook', 'push'),
allowNull: true, // Allow null for testing