From f0304b80e833cd13e968d8b5059b9940aa37a960 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Tue, 6 Jun 2023 17:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(db):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8B=8D=E5=93=81=E8=A1=A8=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/CounterAuction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/db/CounterAuction.ts b/shared/db/CounterAuction.ts index 8d444452d..c89b1dcd0 100644 --- a/shared/db/CounterAuction.ts +++ b/shared/db/CounterAuction.ts @@ -4,7 +4,7 @@ import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoos /** * 自增 ID */ -@index({ sourceType: 1, time: 1, id: 1 }) +@index({ beginTime: 1, id: 1 }) export default class CounterLots extends BaseModel { @prop({ required: true })