Fix jwt-token
This commit is contained in:
@@ -18,7 +18,8 @@ module.exports = (sequelize) => {
|
||||
},
|
||||
device_key: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
allowNull: true, // Allow null for testing
|
||||
defaultValue: 'test-device-key',
|
||||
comment: 'Unique key of the sensor from heartbeat message'
|
||||
},
|
||||
signal_strength: {
|
||||
|
||||
Reference in New Issue
Block a user