From 6c01f2508177fcaa7aaa5c979b1b7dd36edf9890 Mon Sep 17 00:00:00 2001 From: tone Date: Thu, 18 Dec 2025 13:55:16 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4userSession=E7=9A=84?= =?UTF-8?q?=E8=81=94=E5=90=88=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/backend/src/auth/entity/user-session.entity.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/backend/src/auth/entity/user-session.entity.ts b/apps/backend/src/auth/entity/user-session.entity.ts index 8f263a6..78cf054 100644 --- a/apps/backend/src/auth/entity/user-session.entity.ts +++ b/apps/backend/src/auth/entity/user-session.entity.ts @@ -3,12 +3,10 @@ import { CreateDateColumn, DeleteDateColumn, Entity, - Index, PrimaryGeneratedColumn, } from 'typeorm'; @Entity() -@Index(['sessionId', 'userId']) export class UserSession { @PrimaryGeneratedColumn('uuid') sessionId: string;