Fix jwt-token
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user