diff --git a/src/ORM/client-statistics/client-statistics.entity.ts b/src/ORM/client-statistics/client-statistics.entity.ts index 115cc26..6976b63 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, PrimaryGeneratedColumn } from 'typeorm'; import { TrackedEntity } from '../utils/TrackedEntity.entity'; -@Entity({ withoutRowid: true }) +@Entity() //Index for getHashRateForSession @Index(["address", "clientName", "sessionId"]) //Index for statistics save