Fix jwt-token

This commit is contained in:
2025-09-21 08:55:01 +02:00
parent 18f08dea05
commit a1cf28f76a

View File

@@ -275,12 +275,12 @@ const setupDatabase = async () => {
await sequelize.query(`
CREATE INDEX IF NOT EXISTS idx_drone_detections_device_timestamp
ON "drone_detections" (device_id, timestamp);
ON "drone_detections" (device_id, server_timestamp);
`);
await sequelize.query(`
CREATE INDEX IF NOT EXISTS idx_heartbeats_device_timestamp
ON "heartbeats" (device_id, timestamp);
ON "heartbeats" (device_id, received_at);
`);
await sequelize.query(`