diff --git a/src/ORM/client-statistics/client-statistics.entity.ts b/src/ORM/client-statistics/client-statistics.entity.ts index dc7f915..73e302e 100644 --- a/src/ORM/client-statistics/client-statistics.entity.ts +++ b/src/ORM/client-statistics/client-statistics.entity.ts @@ -3,6 +3,7 @@ import { Column, Entity, Index, PrimaryColumn } from 'typeorm'; import { TrackedEntity } from '../utils/TrackedEntity.entity'; @Entity() +//Index for the heartbeat update @Index(["address", "clientName", "sessionId", "time"]) export class ClientStatisticsEntity extends TrackedEntity {