Fix jwt-token

This commit is contained in:
2025-09-15 14:41:35 +02:00
parent aa5273841f
commit 07c25ed5e9
13 changed files with 291 additions and 253 deletions

View File

@@ -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: {