From 5369b2dc12fe0891d6946c061bd28d4680599bab Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Fri, 11 Aug 2023 22:40:54 -0400 Subject: [PATCH] withoutRowid on statistics --- src/ORM/client-statistics/client-statistics.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/client-statistics/client-statistics.entity.ts b/src/ORM/client-statistics/client-statistics.entity.ts index 73e302e..111a60e 100644 --- a/src/ORM/client-statistics/client-statistics.entity.ts +++ b/src/ORM/client-statistics/client-statistics.entity.ts @@ -2,7 +2,7 @@ import { Column, Entity, Index, PrimaryColumn } from 'typeorm'; import { TrackedEntity } from '../utils/TrackedEntity.entity'; -@Entity() +@Entity({ withoutRowid: true }) //Index for the heartbeat update @Index(["address", "clientName", "sessionId", "time"]) export class ClientStatisticsEntity extends TrackedEntity {