Fix jwt-token

This commit is contained in:
2025-09-15 15:39:01 +02:00
parent caf7e878f7
commit 652dcecc13
2 changed files with 10 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ module.exports = (sequelize) => {
},
received_at: {
type: DataTypes.DATE,
defaultValue: DataTypes.NOW,
defaultValue: sequelize.Sequelize.NOW,
comment: 'When heartbeat was received by server'
},
raw_payload: {
@@ -64,7 +64,7 @@ module.exports = (sequelize) => {
},
created_at: {
type: DataTypes.DATE,
defaultValue: DataTypes.NOW
defaultValue: sequelize.Sequelize.NOW
}
}, {
tableName: 'heartbeats',