mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
index
This commit is contained in:
@@ -6,7 +6,7 @@ import { TrackedEntity } from '../utils/TrackedEntity.entity';
|
|||||||
|
|
||||||
@Entity()
|
@Entity()
|
||||||
@Index("IDX_unique_nonce", { synchronize: false })
|
@Index("IDX_unique_nonce", { synchronize: false })
|
||||||
@Index('idx_client_cleanup', ['updatedAt', 'id'], {
|
@Index('idx_client_cleanup', ['id'], {
|
||||||
where: '"deletedAt" IS NULL',
|
where: '"deletedAt" IS NULL',
|
||||||
// This is a partial (filtered) index — only indexes active clients
|
// This is a partial (filtered) index — only indexes active clients
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user