From 4a484811ea8f94a0b2f5beddc68e0c92000b08ff Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Mon, 13 Jan 2025 15:19:43 +0700 Subject: [PATCH] update role --- src/entity/user_activity.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/entity/user_activity.ts b/src/entity/user_activity.ts index 83d0872..32ab2e1 100644 --- a/src/entity/user_activity.ts +++ b/src/entity/user_activity.ts @@ -14,14 +14,14 @@ export class UserActivity { application: Application @ManyToOne(() => User, (user) => user.id, { nullable: true }) - // @JoinColumn({ name: 'id_user' }) - @JoinColumn() + @JoinColumn({ name: 'id_user' }) + // @JoinColumn() user: User; - @Column({ - type: 'uuid' - }) - id_user: string; + // @Column({ + // type: 'uuid' + // }) + // id_user: string; @Index() @Column({