mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
add back index with time
This commit is contained in:
@@ -5,6 +5,8 @@ import { TrackedEntity } from '../utils/TrackedEntity.entity';
|
|||||||
@Entity()
|
@Entity()
|
||||||
//Index for getHashRateForSession
|
//Index for getHashRateForSession
|
||||||
@Index(["address", "clientName", "sessionId"])
|
@Index(["address", "clientName", "sessionId"])
|
||||||
|
//Index for statistics save
|
||||||
|
@Index(["address", "clientName", "sessionId", "time"])
|
||||||
export class ClientStatisticsEntity extends TrackedEntity {
|
export class ClientStatisticsEntity extends TrackedEntity {
|
||||||
|
|
||||||
@PrimaryGeneratedColumn()
|
@PrimaryGeneratedColumn()
|
||||||
|
|||||||
Reference in New Issue
Block a user