From fc7826fecb90c1bd87feae5bf395a17449efe08a Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Tue, 31 Dec 2024 09:34:39 +0700 Subject: [PATCH] remove application from user roles --- src/entity/users_roles.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/entity/users_roles.ts b/src/entity/users_roles.ts index 940fd76..83aec9c 100644 --- a/src/entity/users_roles.ts +++ b/src/entity/users_roles.ts @@ -8,10 +8,6 @@ export class UserRole { @PrimaryGeneratedColumn('uuid') id: string; - @ManyToOne(() => Application, { onDelete: "RESTRICT" }) - @JoinColumn({ name: 'application' }) - application: Application - @Column({ nullable: false, unique: true,